Bugzilla – Attachment 131289 Details for
Bug 29857
We must stringify our exceptions correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t
Bug-29857-follow-up-Fix-tdbdependentKohaClubHoldt.patch (text/plain), 1.12 KB, created by
Fridolin Somers
on 2022-03-02 18:09:20 UTC
(
hide
)
Description:
Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-03-02 18:09:20 UTC
Size:
1.12 KB
patch
obsolete
>From b5560af25ed08bfd3380172acb8670073259d744 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 2 Mar 2022 08:04:00 -1000 >Subject: [PATCH] Bug 29857: (follow-up) Fix t/db_dependent/Koha/Club/Hold.t > >--- > t/db_dependent/Koha/Club/Hold.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Club/Hold.t b/t/db_dependent/Koha/Club/Hold.t >index 9c88f1049e..d705f1d807 100755 >--- a/t/db_dependent/Koha/Club/Hold.t >+++ b/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( >-- >2.35.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29857
:
129329
|
129330
|
130007
|
130008
|
130009
|
130010
|
130011
|
130012
|
130013
|
130014
|
130015
|
130156
|
130157
|
130158
|
130355
|
131112
|
131113
|
131114
|
131115
|
131116
|
131117
|
131232
|
131240
|
131241
|
131242
|
131243
|
131244
|
131256
|
131258
|
131287
|
131288
| 131289 |
131290
|
131291