Bugzilla – Attachment 163453 Details for
Bug 36329
Transfer limits should respect `BranchTransferLimitsType`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36329: (follow-up) Fix error message comparisson in testes
Bug-36329-follow-up-Fix-error-message-comparisson-.patch (text/plain), 1.17 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-03-19 15:12:28 UTC
(
hide
)
Description:
Bug 36329: (follow-up) Fix error message comparisson in testes
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-03-19 15:12:28 UTC
Size:
1.17 KB
patch
obsolete
>From 2a8da4b577020a0e96723e7b765cbb9384c01b6f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 19 Mar 2024 12:11:54 -0300 >Subject: [PATCH] Bug 36329: (follow-up) Fix error message comparisson in > testes > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/transfer_limits.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/transfer_limits.t b/t/db_dependent/api/v1/transfer_limits.t >index 0db8f52ba8a..33ceecec723 100755 >--- a/t/db_dependent/api/v1/transfer_limits.t >+++ b/t/db_dependent/api/v1/transfer_limits.t >@@ -212,7 +212,7 @@ subtest 'batch_add() and batch_delete() tests' => sub { > # Create all combinations of to/from libraries > $t->post_ok( "//$auth_userid:$password@/api/v1/transfer_limits/batch" => json => > { item_type => 'X', collection_code => 'Y' } )->status_is(400) >- ->json_is( '/error' => "Only one of 'item_type' and 'collecion_code' can be passed at a time" ); >+ ->json_is( '/error' => "You can only pass 'item_type' or 'collection_code' at a time" ); > > t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'ccode' ); > >-- >2.44.0
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 36329
:
163232
|
163233
|
163234
|
163280
|
163281
|
163282
|
163365
|
163366
|
163367
| 163453