Bug 36665: (RMaint follow-up) adapt unit test

(cherry picked from commit 8ddb0797f6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2024-05-29 16:40:41 +02:00 committed by Lucas Gass
parent 8afa23781d
commit a96e7935e5

View file

@ -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 ) =