Skip to content

Commit

Permalink
Fixed test for confirm password change
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinByrne committed Nov 17, 2020
1 parent bbf8adb commit 6ddf08b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/Feature/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,7 @@ public function testUserCanBeUpdated()
'email' => $email,
]);

$login = $this->post(route('login.authenticate'), [
'email' => $email,
'password' => $password,
]);

$this->assertAuthenticatedAs($newUser);
$this->assertTrue(Hash::check($password, $newUser->password));

$response->assertRedirect($newUser->path());
}
Expand Down

0 comments on commit 6ddf08b

Please sign in to comment.