3 # This Koha test module is a stub!
4 # Add more tests here!!!
9 use Test::More tests => 8;
12 use_ok('C4::BackgroundJob');
15 #my ($sessionID, $job_name, $job_invoker, $num_work_units) = @_;
17 ok ($background=C4::BackgroundJob->new);
20 $background->name("George");
21 is ($background->name, "George", "testing name");
23 $background->invoker("enjoys");
24 is ($background->invoker, "enjoys", "testing invoker");
26 $background->progress("testing");
27 is ($background->progress, "testing", "testing progress");
29 ok ($background->status);
31 $background->size("56");
32 is ($background->size, "56", "testing size");