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

(-)a/t/db_dependent/BackgroundJob.t (-2 / +5 lines)
Lines 7-13 use strict; Link Here
7
use warnings;
7
use warnings;
8
use C4::Auth;
8
use C4::Auth;
9
use CGI;
9
use CGI;
10
use Test::More tests => 8;
10
use Test::More tests => 10;
11
11
12
BEGIN {
12
BEGIN {
13
        use_ok('C4::BackgroundJob');
13
        use_ok('C4::BackgroundJob');
Lines 34-36 ok ($background->status); Link Here
34
$background->size("56");
34
$background->size("56");
35
is ($background->size, "56", "testing size");
35
is ($background->size, "56", "testing size");
36
36
37
- 
37
$background->finish("finished");
38
is ($background->status,'completed', "testing finished");
39
40
ok ($background->results); # Will return undef unless finished

Return to bug 5327