Revision 3b1b77bc
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
t/background_job/known_jobs.t | ||
---|---|---|
6 | 6 |
|
7 | 7 |
use_ok 'SL::BackgroundJob::Base'; |
8 | 8 |
|
9 |
my @expected_known_job_classes = qw(BackgroundJobCleanup CleanBackgroundJobHistory CreatePeriodicInvoices CsvImport SelfTest Test); |
|
9 |
my @expected_known_job_classes = qw(BackgroundJobCleanup CleanAuthSessions CleanBackgroundJobHistory CreatePeriodicInvoices CsvImport SelfTest Test);
|
|
10 | 10 |
is_deeply [ SL::BackgroundJob::Base->get_known_job_classes ], \@expected_known_job_classes, 'get_known_job_classes called as class method'; |
11 | 11 |
|
12 | 12 |
my $job = new_ok 'SL::BackgroundJob::Base'; |
Auch abrufbar als: Unified diff
Tests: neue Background Job Klasse auch erwarten