View | Details | Raw Unified | Return to bug 36329
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/transfer_limits.t (-2 / +1 lines)
Lines 212-218 subtest 'batch_add() and batch_delete() tests' => sub { Link Here
212
    # Create all combinations of to/from libraries
212
    # Create all combinations of to/from libraries
213
    $t->post_ok( "//$auth_userid:$password@/api/v1/transfer_limits/batch" => json =>
213
    $t->post_ok( "//$auth_userid:$password@/api/v1/transfer_limits/batch" => json =>
214
            { item_type => 'X', collection_code => 'Y' } )->status_is(400)
214
            { item_type => 'X', collection_code => 'Y' } )->status_is(400)
215
        ->json_is( '/error' => "Only one of 'item_type' and 'collecion_code' can be passed at a time" );
215
        ->json_is( '/error' => "You can only pass 'item_type' or 'collection_code' at a time" );
216
216
217
    t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'ccode' );
217
    t::lib::Mocks::mock_preference( 'BranchTransferLimitsType', 'ccode' );
218
218
219
- 

Return to bug 36329