From 0658dadc90ad9b614c0c8b49402d66af17fd50f7 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 Signed-off-by: Katrin Fischer --- 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 2fd3f5ee9a..177698e1a7 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.39.5