From 5db57314c048201a2648c285d4d6ec8cff410176 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 --- 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 8404ec86fc9..2fd3f5ee9aa 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.45.2