From 0126eeda7866d4cfa8321c7b36c20da4742934a8 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 Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer (cherry picked from commit 9b8cbf5c83a8f76f3b5eba5065aa5cb7aa26e1d2) Signed-off-by: Fridolin Somers --- 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.20.1