diff --git a/tests/Feature/V1/Auth/AuthTest.php b/tests/Feature/V1/Auth/AuthTest.php index 8d0daef..9eb3444 100644 --- a/tests/Feature/V1/Auth/AuthTest.php +++ b/tests/Feature/V1/Auth/AuthTest.php @@ -49,9 +49,12 @@ public function user_cannot_retrieve_a_jwt() /** @test */ public function user_can_be_authenticated_with_jwt() { - $this->actingAs($this->anakin()) + $anakin = $this->anakin(); + $anakin->wasRecentlyCreated = false; + + $this->actingAs($anakin) ->json('GET', '/api/v1/auth/me') - ->assertStatus(201) + ->assertStatus(200) ->assertJsonStructure([ 'data' => [ 'name',