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

(-)a/t/db_dependent/Koha/Biblio.t (-2 / +13 lines)
Lines 17-23 Link Here
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
19
20
use Test::More tests => 28;
20
use Test::More tests => 29;
21
use Test::Exception;
21
use Test::Exception;
22
use Test::Warn;
22
use Test::Warn;
23
23
Lines 1138-1143 subtest 'normalized_upc' => sub { Link Here
1138
    );
1138
    );
1139
};
1139
};
1140
1140
1141
subtest 'normalized_oclc' => sub {
1142
    plan tests => 1;
1143
1144
    # We will move the tests from GetNormalizedOCLC here when it will get replaced
1145
    # Note that only a single test exist and it's not really meaningful...
1146
    my $biblio = $builder->build_sample_biblio();
1147
    is(
1148
        $biblio->normalized_oclc, C4::Koha::GetNormalizedOCLCNumber( $biblio->metadata->record ),
1149
        'normalized_oclc is a wrapper around C4::Koha::GetNormalizedOCLCNumber'
1150
    );
1151
};
1152
1141
subtest 'ratings' => sub {
1153
subtest 'ratings' => sub {
1142
    plan tests => 1;
1154
    plan tests => 1;
1143
    # See t/db_dependent/Koha/Ratings.t
1155
    # See t/db_dependent/Koha/Ratings.t
1144
- 

Return to bug 33958