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:
parent
99e56000cc
commit
4988ae0de9
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue