Skip to content

Commit

Permalink
Update tests/PirschTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfietje authored Mar 7, 2024
1 parent d8a68c0 commit 3599ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PirschTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Pirsch::track();
$this->get('/');

Http::assertSent(function (Request $request) {
Http::assertSent(function (Request $request): bool {
expect($request->url())->toBe('https://api.pirsch.io/api/v1/hit');
expect($request->hasHeader('Authorization', 'Bearer test_token'))->toBeTrue();
expect($request->data())->toBe([
Expand Down

0 comments on commit 3599ff9

Please sign in to comment.