|
Lines 327-332
subtest 'search_by_*_field + find_by_koha_field + get_description + authorised_v
Link Here
|
| 327 |
|
327 |
|
| 328 |
$schema->storage->txn_rollback; |
328 |
$schema->storage->txn_rollback; |
| 329 |
}; |
329 |
}; |
|
|
330 |
|
| 331 |
subtest 'get_description_by_category_and_authorised_value' => sub { |
| 332 |
plan tests => 1; |
| 333 |
my $description = Koha::AuthorisedValues->get_description_by_category_and_authorised_value( |
| 334 |
{ |
| 335 |
category => $av_0->category,, |
| 336 |
authorised_value => $av_0->authorised_value, |
| 337 |
} |
| 338 |
); |
| 339 |
is_deeply( |
| 340 |
$description, |
| 341 |
{ |
| 342 |
lib => $av_0->lib, |
| 343 |
opac_description => $av_0->lib_opac |
| 344 |
} |
| 345 |
); |
| 346 |
}; |
| 330 |
}; |
347 |
}; |
| 331 |
|
348 |
|
| 332 |
subtest 'is_integer_only' => sub { |
349 |
subtest 'is_integer_only' => sub { |
| 333 |
- |
|
|