From 3143fd1c4beed115a002d782d38843d2e5c49c97 Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Wed, 28 Feb 2024 05:52:41 +0100 Subject: [PATCH] Bug 35963: (QA follow-up): tidy up code and fix exec permission --- t/db_dependent/api/v1/items/bundled_items.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 t/db_dependent/api/v1/items/bundled_items.t diff --git a/t/db_dependent/api/v1/items/bundled_items.t b/t/db_dependent/api/v1/items/bundled_items.t old mode 100644 new mode 100755 index cab4b23e9a..d2b085ede2 --- a/t/db_dependent/api/v1/items/bundled_items.t +++ b/t/db_dependent/api/v1/items/bundled_items.t @@ -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; }; -- 2.44.0