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:
parent
8afa23781d
commit
a96e7935e5
1 changed files with 2 additions and 2 deletions
|
@ -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 ) =
|
||||
|
|
Loading…
Reference in a new issue