From 0db8f86fb3742e5af38fa26c699c5f1dafbdde6d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 2 Jul 2024 13:47:03 -0400 Subject: [PATCH] Bug 36641: (QA follow-up) Fix variable name Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- t/db_dependent/api/v1/responses.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/api/v1/responses.t b/t/db_dependent/api/v1/responses.t index 8404ec86fc..2fd3f5ee9a 100755 --- a/t/db_dependent/api/v1/responses.t +++ b/t/db_dependent/api/v1/responses.t @@ -135,8 +135,8 @@ subtest 'render_invalid_parameter_value() tests' => sub { my $path = '/query/library'; my $uri = '/api/v1/libraries'; my $field = 'library_id'; - my $mock_cities = Test::MockModule->new('Koha::REST::V1::CirculationRules'); - $mock_cities->mock( + my $mock_circulation_rules = Test::MockModule->new('Koha::REST::V1::CirculationRules'); + $mock_circulation_rules->mock( 'list_effective_rules', sub { my $c = shift->openapi->valid_input or return; -- 2.39.5