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

(-)a/t/db_dependent/Koha/Biblio.t (-1 / +7 lines)
Lines 39-44 use Koha::Exception; Link Here
39
use MARC::Field;
39
use MARC::Field;
40
use MARC::Record;
40
use MARC::Record;
41
41
42
use t::lib::Dates;
42
use t::lib::TestBuilder;
43
use t::lib::TestBuilder;
43
use t::lib::Mocks;
44
use t::lib::Mocks;
44
use Test::MockModule;
45
use Test::MockModule;
Lines 591-596 subtest 'to_api() tests' => sub { Link Here
591
    plan tests => ( scalar keys %{$biblioitem_api} ) + 4;
592
    plan tests => ( scalar keys %{$biblioitem_api} ) + 4;
592
593
593
    foreach my $key ( keys %{$biblioitem_api} ) {
594
    foreach my $key ( keys %{$biblioitem_api} ) {
595
        if ( $key eq 'timestamp' ) {
596
            t::lib::Dates::compare(
597
                $biblio_api->{$key}, $biblioitem_api->{$key},
598
                "$key is added to the biblio object"
599
            );
600
        }
594
        is( $biblio_api->{$key}, $biblioitem_api->{$key}, "$key is added to the biblio object" );
601
        is( $biblio_api->{$key}, $biblioitem_api->{$key}, "$key is added to the biblio object" );
595
    }
602
    }
596
603
597
- 

Return to bug 39995