Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jun 15, 2024
1 parent 1e17dc2 commit a4315dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Http/Middleware/CheckLocationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
it('checks admin location correctly', function() {
Route::get('admin/test-route', fn() => 'ok')->middleware(CheckLocation::class);

$user = User::factory()->create();
$user = User::factory()->superUser()->create();
$location = LocationModel::factory()->create([
'permalink_slug' => 'test-location',
]);
Expand Down

0 comments on commit a4315dc

Please sign in to comment.