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 1150-1155 subtest 'normalized_upc' => sub { Link Here
1150
    );
1150
    );
1151
};
1151
};
1152
1152
1153
subtest 'normalized_oclc' => sub {
1154
    plan tests => 1;
1155
1156
    # We will move the tests from GetNormalizedOCLC here when it will get replaced
1157
    # Note that only a single test exist and it's not really meaningful...
1158
    my $biblio = $builder->build_sample_biblio();
1159
    is(
1160
        $biblio->normalized_oclc, C4::Koha::GetNormalizedOCLCNumber( $biblio->metadata->record ),
1161
        'normalized_oclc is a wrapper around C4::Koha::GetNormalizedOCLCNumber'
1162
    );
1163
};
1164
1153
subtest 'ratings' => sub {
1165
subtest 'ratings' => sub {
1154
    plan tests => 1;
1166
    plan tests => 1;
1155
    # See t/db_dependent/Koha/Ratings.t
1167
    # See t/db_dependent/Koha/Ratings.t
1156
- 

Return to bug 33958