Bug 36329: (follow-up) Fix error message comparisson in testes
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit5f7a9db936) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitf805c221cf) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
900f6b2ce0
commit
3cfded7076
|
|
@ -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' );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue