Bugzilla – Attachment 167391 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/db_dependent/Auth.t
Bug-36367-Fix-test-tdbdependentAutht.patch (text/plain), 1.15 KB, created by
Martin Renvoize (ashimema)
on 2024-06-04 12:11:18 UTC
(
hide
)
Description:
Bug 36367: Fix test t/db_dependent/Auth.t
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-06-04 12:11:18 UTC
Size:
1.15 KB
patch
obsolete
>From 3b01f3ae3ecd499b386b04ff5cae81e09256b174 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Thu, 18 Apr 2024 16:38:03 +0200 >Subject: [PATCH] Bug 36367: Fix test t/db_dependent/Auth.t > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Auth.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t >index 129bb8a57b7..99beff8975b 100755 >--- a/t/db_dependent/Auth.t >+++ b/t/db_dependent/Auth.t >@@ -1474,6 +1474,7 @@ subtest 'AutoSelfCheckAllowed' => sub { > $auth->mock( 'safe_exit', sub { return } ); > > t::lib::Mocks::mock_preference( 'AutoSelfCheckAllowed', 0 ); >+ C4::Context->unset_userenv(); > > # Pref is off, cannot access sco > { >@@ -1499,6 +1500,7 @@ subtest 'AutoSelfCheckAllowed' => sub { > t::lib::Mocks::mock_preference( 'AutoSelfCheckID', '' ); > t::lib::Mocks::mock_preference( 'AutoSelfCheckPass', '' ); > >+ > # Credential prefs are empty, cannot access sco > { > # checkauth will redirect and safe_exit if not authenticated and not authorized >-- >2.45.1
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