Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Apr 28, 2023
1 parent e8e8092 commit 3cb3506
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Illuminate/Foundation/Testing/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Facade;
use Illuminate\Support\Facades\ParallelTesting;
use Illuminate\Support\Siesta;
use Illuminate\Support\Str;
use Illuminate\View\Component;
use Mockery;
Expand Down Expand Up @@ -245,6 +246,7 @@ protected function tearDown(): void
Component::forgetFactory();
Queue::createPayloadUsing(null);
HandleExceptions::forgetApp();
Siesta::fake(false);

if ($this->callbackException) {
throw $this->callbackException;
Expand Down
4 changes: 2 additions & 2 deletions tests/Support/SiestaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

class SiestaTest extends TestCase
{
protected function setUp(): void
protected function tearDown(): void
{
parent::setUp();
parent::tearDown();

Siesta::fake(false);
}
Expand Down

0 comments on commit 3cb3506

Please sign in to comment.