Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
use Modern::Perl; |
18 |
use Modern::Perl; |
19 |
|
19 |
|
20 |
use Test::More tests => 27; |
20 |
use Test::More tests => 28; |
21 |
use Test::Exception; |
21 |
use Test::Exception; |
22 |
use Test::Warn; |
22 |
use Test::Warn; |
23 |
|
23 |
|
Lines 1126-1131
subtest 'normalized_isbn' => sub {
Link Here
|
1126 |
); |
1126 |
); |
1127 |
}; |
1127 |
}; |
1128 |
|
1128 |
|
|
|
1129 |
subtest 'normalized_upc' => sub { |
1130 |
plan tests => 1; |
1131 |
|
1132 |
# We will move the tests from GetNormalizedUPC here when it will get replaced |
1133 |
# Note that only a single test exist and it's not really meaningful... |
1134 |
my $biblio = $builder->build_sample_biblio(); |
1135 |
is( |
1136 |
$biblio->normalized_upc, C4::Koha::GetNormalizedUPC( $biblio->metadata->record ), |
1137 |
'normalized_upc is a wrapper around C4::Koha::GetNormalizedUPC' |
1138 |
); |
1139 |
}; |
1140 |
|
1129 |
subtest 'ratings' => sub { |
1141 |
subtest 'ratings' => sub { |
1130 |
plan tests => 1; |
1142 |
plan tests => 1; |
1131 |
# See t/db_dependent/Koha/Ratings.t |
1143 |
# See t/db_dependent/Koha/Ratings.t |
1132 |
- |
|
|