Make tests compatible with laravel 5.4

This commit is contained in:
James Cole
2017-02-12 12:32:13 +01:00
parent 018af62826
commit 79f94771c3
6 changed files with 20 additions and 19 deletions

View File

@@ -81,7 +81,7 @@ class ProfileControllerTest extends TestCase
$this->be($this->user());
$response = $this->post(route('profile.delete-account.post'), $data);
$response->assertStatus(302);
$this->assertRedirectedToRoute('index');
$response->assertRedirect(route('index'));
}
}