From 45dca37ea901ed76e5c1d46c46a900831d0e91fc Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 13 Jan 2023 08:15:05 +0000 Subject: [PATCH] Bug 31908: [21.11.x] Fix Auth.t Signed-off-by: Arthur Suzuki --- t/db_dependent/Auth.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 992984bd33..f9df4679ac 100755 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -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' ); -- 2.39.5