From ebbcf6ac8f6f33c20ec1a8c91ee7c69157300370 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Thu, 18 Apr 2024 16:26:44 +0200 Subject: [PATCH] Bug 36367: Fix test t/Token.t Signed-off-by: Julian Maurice Signed-off-by: Martin Renvoize --- t/Token.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Token.t b/t/Token.t index 422feb21c9..794bb3d69a 100755 --- a/t/Token.t +++ b/t/Token.t @@ -113,6 +113,7 @@ subtest 'testing _add_default_csrf_params with/without userenv (bug 27849)' => s is( $result->{id}, 'anonymous_567', 'Check userid' ); # Clear userenv + C4::Context->unset_userenv(); is( C4::Context::userenv, undef, 'No userenv anymore' ); $result = Koha::Token::_add_default_csrf_params({}); # pass no session_id is( $result->{session_id}, Koha::Token::DEFA_SESSION_ID, 'Check session id' );