From d2cd3fc8bf3912b40cd56eb130909ecbf2a144a8 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- 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.11.0