From 4988ae0de9ffae26f4fe4df75223e918b2fbb49f 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. Signed-off-by: Julian Maurice Signed-off-by: Martin Renvoize --- 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 8511551adc..f34b695c49 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.39.5