From aec1ab427aa1eef7a936a4c3fa722210b82880df Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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