From 3670adfc85012ad1f007561876c5a687bc2afadf Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 2 Aug 2021 15:56:25 -1000 Subject: [PATCH] Revert "Bug 28480: (QA follow-up) Add unit test" This reverts commit 26f06e7d9ae73b271214e7af195dd1f88b5e8462. --- t/db_dependent/api/v1/patrons.t | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t index 97cb1fd499..40993191a7 100755 --- a/t/db_dependent/api/v1/patrons.t +++ b/t/db_dependent/api/v1/patrons.t @@ -42,7 +42,7 @@ subtest 'list() tests' => sub { $schema->storage->txn_rollback; subtest 'librarian access tests' => sub { - plan tests => 16; + plan tests => 13; $schema->storage->txn_begin; @@ -63,10 +63,6 @@ subtest 'list() tests' => sub { ->status_is(200) ->json_is('/0/cardnumber' => $librarian->cardnumber); - $t->get_ok("//$userid:$password@/api/v1/patrons?q={\"cardnumber\":\"" . $librarian->cardnumber ."\"}") - ->status_is(200) - ->json_is('/0/cardnumber' => $librarian->cardnumber); - $t->get_ok("//$userid:$password@/api/v1/patrons?address2=" . $librarian->address2) ->status_is(200) ->json_is('/0/address2' => $librarian->address2); -- 2.39.5