user = User::factory()->create(); $this->post('/login', [ 'username' => $this->user->username, 'password' => 'password', ]); } }