Browse Source

Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
22.05.x
Fridolin Somers 2 years ago
parent
commit
6573dd7ef9
  1. 4
      t/db_dependent/Koha/Club/Hold.t

4
t/db_dependent/Koha/Club/Hold.t

@ -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…
Cancel
Save