From eb7cff8fc5702af4be70b8fe4c09bed163999db1 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 15 Jul 2024 15:38:47 -0300 Subject: [PATCH] Bug 36641: Fix tests Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/api/v1/responses.t | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/api/v1/responses.t b/t/db_dependent/api/v1/responses.t index 2fd3f5ee9aa..177698e1a78 100755 --- a/t/db_dependent/api/v1/responses.t +++ b/t/db_dependent/api/v1/responses.t @@ -132,9 +132,10 @@ subtest 'render_invalid_parameter_value() tests' => sub { $authorized_patron->set_password( { password => $password, skip_validation => 1 } ); my $userid = $authorized_patron->userid; - my $path = '/query/library'; - my $uri = '/api/v1/libraries'; - my $field = 'library_id'; + my $path = '/query/library_id'; + my $uri = '/api/v1/libraries'; + my $field = 'library_id'; + my $mock_circulation_rules = Test::MockModule->new('Koha::REST::V1::CirculationRules'); $mock_circulation_rules->mock( 'list_effective_rules', -- 2.45.2