Bugzilla – Attachment 163508 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 BackgroundJob.t
Bug-36367-Fix-BackgroundJobt.patch (text/plain), 952 bytes, created by
Jonathan Druart
on 2024-03-20 08:13:39 UTC
(
hide
)
Description:
Bug 36367: Fix BackgroundJob.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-20 08:13:39 UTC
Size:
952 bytes
patch
obsolete
>From aec1ab427aa1eef7a936a4c3fa722210b82880df Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 20 Mar 2024 09:12:54 +0100 >Subject: [PATCH] Bug 36367: Fix BackgroundJob.t > >This test is useless it seems, it is not testing background jobs >behaviour. >--- > t/db_dependent/Koha/BackgroundJob.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Koha/BackgroundJob.t b/t/db_dependent/Koha/BackgroundJob.t >index 8511551adcd..f34b695c492 100755 >--- a/t/db_dependent/Koha/BackgroundJob.t >+++ b/t/db_dependent/Koha/BackgroundJob.t >@@ -230,6 +230,7 @@ subtest 'process tests' => sub { > my $job = Koha::BackgroundJobs->find($job_id); > > C4::Context->interface('opac'); >+ C4::Context->unset_userenv; > is( C4::Context->userenv, undef, "Userenv unset prior to calling process"); > is( C4::Context->interface, 'opac', "Interface set to opac prior to calling process"); > >-- >2.34.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