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

(-)a/t/Scheduler.t (-2 / +7 lines)
Lines 6-14 Link Here
6
use strict;
6
use strict;
7
use warnings;
7
use warnings;
8
8
9
use Test::More tests => 1;
9
use Test::More tests => 6;
10
10
11
BEGIN {
11
BEGIN {
12
        use_ok('C4::Scheduler');
12
        use_ok('C4::Scheduler');
13
}
13
}
14
14
15
- 
15
ok(C4::Scheduler::get_jobs(), "testing get_jobs with no arguments");
16
ok(C4::Scheduler::get_at_jobs(), "testing get_at_jobs with no arguments");
17
is(C4::Scheduler::get_at_job(), "0", "testing get_at_job returns '0' when given no arguments");
18
is(C4::Scheduler::add_at_job(), "", "testing add_at_job with no arguments");
19
is(C4::Scheduler::remove_at_job(), undef , "testing remove_at_job returns undef when given no arguments");
20

Return to bug 5327