Dieser Test hat noch nie einen Fehler gefunden, aber produzierst ständig
false positives wenn jemand einen neuen Hintergrundjob einfügt und
vergisst den hier einzutragen. Weg damit.
+++ /dev/null
-use Test::More tests => 4;
-
-use lib 't';
-
-use Support::TestSetup;
-
-use_ok 'SL::BackgroundJob::Base';
-
-my @expected_known_job_classes = qw(BackgroundJobCleanup CleanAuthSessions CleanBackgroundJobHistory CreatePeriodicInvoices CsvImport FailedBackgroundJobsReport
- MassRecordCreationAndPrinting SelfTest Test);
-is_deeply [ SL::BackgroundJob::Base->get_known_job_classes ], \@expected_known_job_classes, 'get_known_job_classes called as class method';
-
-my $job = new_ok 'SL::BackgroundJob::Base';
-is_deeply [ $job->get_known_job_classes ], \@expected_known_job_classes, 'get_known_job_classes called as instance method';