Skip to content

Commit

Permalink
add parent::tearDown() call
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Mar 12, 2024
1 parent cb6b75e commit 5acb6f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

namespace Stancl\Tenancy\Tests;

use Closure;
use Exception;
use Illuminate\Support\Str;
use Illuminate\Bus\Queueable;
use Spatie\Valuestore\Valuestore;
use Illuminate\Support\Facades\DB;
Expand All @@ -25,7 +23,6 @@
use Illuminate\Queue\Events\JobProcessing;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use PDO;
use Stancl\Tenancy\Events\TenancyInitialized;
use Stancl\Tenancy\Listeners\BootstrapTenancy;
use Stancl\Tenancy\Listeners\RevertToCentralContext;
Expand Down Expand Up @@ -59,6 +56,7 @@ public function setUp(): void

public function tearDown(): void
{
parent::tearDown();
$this->valuestore->flush();
}

Expand Down

0 comments on commit 5acb6f5

Please sign in to comment.