Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3b1b77bc

Von Sven Schöling vor mehr als 10 Jahren hinzugefügt

  • ID 3b1b77bc3f1af3f833bb7d8aeabc1c5c63ba9207
  • Vorgänger b3a47a99
  • Nachfolger ad06ed73

Tests: neue Background Job Klasse auch erwarten

Unterschiede anzeigen:

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