Bugzilla – Attachment 165125 Details for
Bug 36367
Remove context stack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36367: Fix test t/Token.t
Bug-36367-Fix-test-tTokent.patch (text/plain), 878 bytes, created by
Julian Maurice
on 2024-04-18 14:42:09 UTC
(
hide
)
Description:
Bug 36367: Fix test t/Token.t
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2024-04-18 14:42:09 UTC
Size:
878 bytes
patch
obsolete
>From 5784e8bccd36f2c79350eb2b791bf1d39d9da770 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 18 Apr 2024 16:26:44 +0200 >Subject: [PATCH] Bug 36367: Fix test t/Token.t > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > 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' ); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36367
:
163500
|
163501
|
163502
|
163503
|
163504
|
163505
|
163506
|
163507
|
163508
|
165115
|
165116
|
165117
|
165118
|
165119
|
165120
|
165121
|
165122
|
165123
|
165124
|
165125
|
165126
|
167380
|
167381
|
167382
|
167383
|
167384
|
167385
|
167386
|
167387
|
167388
|
167389
|
167390
|
167391