Bug 35963: (QA follow-up): tidy up code and fix exec permission

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Victor Grousset/tuxayo 2024-02-28 05:52:41 +01:00 committed by Katrin Fischer
parent 2753eec1ce
commit 9b8cbf5c83
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 3 deletions

5
t/db_dependent/api/v1/items/bundled_items.t Normal file → Executable file
View File

@ -38,11 +38,10 @@ subtest 'order by me.barcode should return 200' => sub {
$patron->set_password( { password => $password, skip_validation => 1 } );
my $userid = $patron->userid;
my $userid = $patron->userid;
my $itemnumber = $bundle->itemnumber;
$t->get_ok( "//$userid:$password@/api/v1/items/$itemnumber/bundled_items?_order_by=+me.barcode" )
->status_is(200);
$t->get_ok("//$userid:$password@/api/v1/items/$itemnumber/bundled_items?_order_by=+me.barcode")->status_is(200);
$schema->storage->txn_rollback;
};