From e2aa06ffaee8e85124aca18d67255865398e44a8 Mon Sep 17 00:00:00 2001
From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Date: Fri, 13 Jan 2023 08:15:05 +0000
Subject: [PATCH] Bug 31908: [21.11.x] Fix Auth.t
Content-Type: text/plain; charset=utf-8

---
 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.30.2