We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1455a commit ca96672Copy full SHA for ca96672
Clockwork/Support/Laravel/Tests/UsesClockwork.php
@@ -18,6 +18,8 @@ trait UsesClockwork
18
// Set up Clockwork in this test case, should be called from the PHPUnit setUp method
19
protected function setUpClockwork()
20
{
21
+ if (! $this->app->make('clockwork.support')->isCollectingTests()) return;
22
+
23
$this->beforeApplicationDestroyed(function () {
24
if ($this->app->make('clockwork.support')->isTestFiltered($this->toString())) return;
25
0 commit comments