Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
85c4ac7582
commit
6573dd7ef9
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ subtest 'add' => sub {
|
|||
'Koha::Exceptions::MissingParameter',
|
||||
'Exception thrown when biblio_id is passed';
|
||||
|
||||
is( "$@", 'The biblio_id parameter is mandatory' );
|
||||
like( "$@", qr/The biblio_id parameter is mandatory/ );
|
||||
|
||||
throws_ok {
|
||||
Koha::Club::Hold::add(
|
||||
|
@ -68,7 +68,7 @@ subtest 'add' => sub {
|
|||
'Koha::Exceptions::MissingParameter',
|
||||
'Exception thrown when club_id is passed';
|
||||
|
||||
is( "$@", 'The club_id parameter is mandatory' );
|
||||
like( "$@", qr/The club_id parameter is mandatory/ );
|
||||
|
||||
throws_ok {
|
||||
Koha::Club::Hold::add(
|
||||
|
|
Loading…
Reference in a new issue