From 390f838d27984ea47572b729145b1268e9866f29 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 6 Mar 2020 11:13:15 +0000 Subject: [PATCH] Bug 24760: (follow-up) Add a neighboring test messsage Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- t/db_dependent/BackgroundJob.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/BackgroundJob.t b/t/db_dependent/BackgroundJob.t index 81a295979d..2a9e821495 100644 --- a/t/db_dependent/BackgroundJob.t +++ b/t/db_dependent/BackgroundJob.t @@ -47,7 +47,7 @@ is( $job->size, "56", '->set() does not scribble over private object data' ); $job->finish("finished"); is( $job->status, 'completed', "testing finished" ); -ok( $job->results ); #Will return undef unless finished +ok( $job->results, 'Test if we have results' ); my $second_job = C4::BackgroundJob->new( $sessionID, "making new job" ); is( ref( C4::BackgroundJob->fetch( $sessionID, $job->id ) ), "C4::BackgroundJob", 'job_$jobid should be a C4::BackgroundJob for uncleared job 1' ); -- 2.20.1