View | Details | Raw Unified | Return to bug 21105
Collapse All | Expand All

(-)a/t/db_dependent/OAI/Server.t (-3 / +4 lines)
Lines 536-542 subtest 'Tests for timestamp handling' => sub { Link Here
536
    my $timestamp = dt_from_string(undef, 'sql');
536
    my $timestamp = dt_from_string(undef, 'sql');
537
537
538
    # Test a bib with one item
538
    # Test a bib with one item
539
    my $biblio1 = $builder->build_sample_biblio();
539
    my $biblio1 = $builder->build_sample_biblio;
540
    Koha::Biblios->find($biblio1->biblionumber)->timestamp('1970-05-07 13:36:23')->store;
541
540
    $sth_metadata->execute($timestamp, $biblio1->biblionumber);
542
    $sth_metadata->execute($timestamp, $biblio1->biblionumber);
541
    my $item1 = $builder->build_sample_item(
543
    my $item1 = $builder->build_sample_item(
542
        {
544
        {
Lines 623-629 subtest 'Tests for timestamp handling' => sub { Link Here
623
                baseURL           => 'http://localhost',
625
                baseURL           => 'http://localhost',
624
                compression       => 'gzip',
626
                compression       => 'gzip',
625
                deletedRecord     => 'persistent',
627
                deletedRecord     => 'persistent',
626
                earliestDatestamp => '2014-05-07T13:36:23Z',
628
                earliestDatestamp => '1970-05-07T13:36:23Z',
627
                granularity       => 'YYYY-MM-DDThh:mm:ssZ',
629
                granularity       => 'YYYY-MM-DDThh:mm:ssZ',
628
                protocolVersion   => '2.0',
630
                protocolVersion   => '2.0',
629
                repositoryName    => 'My Library',
631
                repositoryName    => 'My Library',
630
- 

Return to bug 21105