View | Details | Raw Unified | Return to bug 24760
Collapse All | Expand All

(-)a/t/db_dependent/BackgroundJob.t (-2 / +1 lines)
Lines 47-53 is( $job->size, "56", '->set() does not scribble over private object data' ); Link Here
47
$job->finish("finished");
47
$job->finish("finished");
48
is( $job->status, 'completed', "testing finished" );
48
is( $job->status, 'completed', "testing finished" );
49
49
50
ok( $job->results );    #Will return undef unless finished
50
ok( $job->results, 'Test if we have results' );
51
51
52
my $second_job = C4::BackgroundJob->new( $sessionID, "making new job" );
52
my $second_job = C4::BackgroundJob->new( $sessionID, "making new job" );
53
is( ref( C4::BackgroundJob->fetch( $sessionID, $job->id ) ),        "C4::BackgroundJob", 'job_$jobid should be a C4::BackgroundJob for uncleared job 1' );
53
is( ref( C4::BackgroundJob->fetch( $sessionID, $job->id ) ),        "C4::BackgroundJob", 'job_$jobid should be a C4::BackgroundJob for uncleared job 1' );
54
- 

Return to bug 24760