You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
->setDescription('Adds a single job to allow testing of the job queue')
35
47
->addArgument(
36
48
'type',
37
49
InputArgument::REQUIRED,
38
-
'The type of job to add. Should be one of `sleep`, `bad` (fatal error), `error` (monolog error), `work` (cryptography) or `exception` (uncaught exception)'
50
+
'The type of job to add. Should be one of `sleep`, `bad` (fatal error), `work` (cryptography) or `exception` (uncaught exception)'
39
51
)
40
52
->addArgument(
41
53
'quantity',
@@ -63,9 +75,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
63
75
caseself::TYPE_BAD:
64
76
$job = newBadJob([], $topic);
65
77
break;
66
-
caseself::TYPE_ERROR:
67
-
$job = newMonologErrorJob([], $topic);
68
-
break;
69
78
caseself::TYPE_EXCEPTION:
70
79
$job = newExceptionJob([], $topic);
71
80
break;
@@ -79,7 +88,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments