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 1138-1143
subtest 'normalized_isbn' => sub {
Link Here
|
1138 |
); |
1138 |
); |
1139 |
}; |
1139 |
}; |
1140 |
|
1140 |
|
|
|
1141 |
subtest 'normalized_upc' => sub { |
1142 |
plan tests => 1; |
1143 |
|
1144 |
# We will move the tests from GetNormalizedUPC 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_upc, C4::Koha::GetNormalizedUPC( $biblio->metadata->record ), |
1149 |
'normalized_upc is a wrapper around C4::Koha::GetNormalizedUPC' |
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 |
- |
|
|