Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Update Pest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
njoguamos committed Jan 27, 2024
1 parent 36989ac commit 1d8eef2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
use Saloon\Http\Faking\MockClient;
use Saloon\Http\Faking\MockResponse;
use Illuminate\Support\Facades\File;
use Saloon\MockConfig;
use Saloon\Config;

MockConfig::setFixturePath('fixtures');
Config::preventStrayRequests();

uses(TestCase::class)
->beforeEach(fn () => MockClient::destroyGlobal())
->in(__DIR__);

function mockRequest(string $request, string $jsonFile, int $status = 200, array $headers = []): MockClient
Expand Down

0 comments on commit 1d8eef2

Please sign in to comment.