Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Apr 18, 2024
1 parent 9033fa5 commit 968ab82
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

use App\Services\Smtp\Server;

/*
|--------------------------------------------------------------------------
| Global hooks
|--------------------------------------------------------------------------
*/
uses()->beforeAll(function () {
Server::fake();
});

/*
|--------------------------------------------------------------------------
| Test Case
Expand All @@ -25,7 +16,9 @@
uses(
Tests\TestCase::class,
// Illuminate\Foundation\Testing\RefreshDatabase::class,
)->in('Feature');
)->beforeAll(function () {
Server::fake();
})->in('Feature');

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 968ab82

Please sign in to comment.