From 2a8da4b577020a0e96723e7b765cbb9384c01b6f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi 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 --- 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