t/backgorund_job/known_jobs.t
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 19 Jan 2017 13:34:02 +0000 (14:34 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 19 Jan 2017 13:34:02 +0000 (14:34 +0100)
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.

t/background_job/known_jobs.t [deleted file]

diff --git a/t/background_job/known_jobs.t b/t/background_job/known_jobs.t
deleted file mode 100644 (file)
index 77150ee..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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';