From 128fab1c278534d06763006ea8f6ee1138ae3045 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 19 Jan 2017 14:34:02 +0100 Subject: [PATCH] t/backgorund_job/known_jobs.t MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 t/background_job/known_jobs.t 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'; -- 2.20.1