From a96e7935e59272e83fcd327a3abb3b20ed816efc Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 29 May 2024 16:40:41 +0200 Subject: [PATCH] Bug 36665: (RMaint follow-up) adapt unit test (cherry picked from commit 8ddb0797f66168765c80df8372a588e1885ff21c) Signed-off-by: Lucas Gass --- t/db_dependent/Auth.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 42f8958d7c..b11cd88262 100755 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -1356,8 +1356,8 @@ subtest 'StaffLoginBranchBasedOnIP' => sub { my $auth = Test::MockModule->new('C4::Auth'); # Simulating the login form submission - $cgi->param( 'login_userid', $patron->userid ); - $cgi->param( 'login_password', $password ); + $cgi->param( 'userid', $patron->userid ); + $cgi->param( 'password', $password ); $ENV{REMOTE_ADDR} = '127.0.0.1'; my ( $userid, $cookie, $sessionID, $flags ) = -- 2.39.5