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' );