Bug 31908: [21.11.x] Fix Auth.t

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Marcel de Rooy 2023-01-13 08:15:05 +00:00 committed by Arthur Suzuki
parent c2e0bc2d2d
commit 45dca37ea9
No known key found for this signature in database
GPG Key ID: 7558BEE2BEEEBCAA
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ subtest 'checkauth & check_cookie_auth' => sub {
# Logging out!
$cgi->param('logout.x', 1);
$cgi->delete( 'userid', 'password' );
( $userid, $cookie, $sessionID, $flags ) = C4::Auth::checkauth($cgi, 0, {catalogue => 1});
is( $sessionID, undef );
is( $ENV{"HTTP_COOKIE"}, "CGISESSID=$first_sessionID", 'HTTP_COOKIE not unset' );