create(); $user1 = factory(User::class)->create(['email' => 'testing@app.dev']); // Reset Request $this->visit('password/reset'); $this->notSeeInDatabase('password_resets', [ 'email' => 'testing@app.dev' ]); $this->see(trans('auth.reset_password')); $this->type('testing@app.dev', 'email'); $this->press(trans('auth.send_reset_password_link')); $this->seePageIs('password/reset'); $this->see(trans('passwords.sent')); $this->seeInDatabase('password_resets', [ 'email' => 'testing@app.dev' ]); } }