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
Setting up PHPUnit's $this->expectException(),
calls to $worker->daemon() throw that exception
so the test case immediately stops there.
Subsquent assertions are being skipped.
Fixing this shows testJobRunsIfAppIsNotInMaintenanceMode
actually never runs any jobs on the queue.
When running the whole laravael/framework test suite,
Worker::memoryExceeded() can also return true from
previous test cases being run. So both of these
tests may skip running the queue, instead silently
calling exit(12) for no more memory.
0 commit comments