From: Sven Schöling Date: Thu, 19 Jan 2017 13:34:02 +0000 (+0100) Subject: t/backgorund_job/known_jobs.t X-Git-Tag: release-3.5.4~1683 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=128fab1c278534d06763006ea8f6ee1138ae3045;p=kivitendo-erp.git t/backgorund_job/known_jobs.t 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. --- diff --git a/t/background_job/known_jobs.t b/t/background_job/known_jobs.t deleted file mode 100644 index 77150eeac..000000000 --- a/t/background_job/known_jobs.t +++ /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';