Bug 36367: Fix BackgroundJob.t

This test is useless it seems, it is not testing background jobs
behaviour.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2024-03-20 09:12:54 +01:00 committed by Martin Renvoize
parent 99e56000cc
commit 4988ae0de9
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 0 deletions

View File

@ -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");