Skip to content

Commit

Permalink
fix: FollowControllerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
HDVinnie committed Aug 16, 2023
1 parent f2010af commit 7c1c80c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
test('index returns an ok response', function (): void {
$user = User::factory()->create();

$response = $this->actingAs($authUser)->get(route('users.followers.index', [$user]));
$response = $this->actingAs($user)->get(route('users.followers.index', [$user]));
$response->assertOk();
$response->assertViewIs('user.follower.index');
$response->assertViewHas('followers');
Expand Down

0 comments on commit 7c1c80c

Please sign in to comment.