Test code cleanup.

This commit is contained in:
James Cole
2016-01-24 18:05:04 +01:00
parent 610f782054
commit 7b2fe8eb4a
11 changed files with 32 additions and 66 deletions

View File

@@ -74,7 +74,6 @@ class AuthControllerTest extends TestCase
'email' => 'thegrumpydictator@gmail.com',
'password' => 'james',
'remember' => 1,
'_token' => Session::token(),
];
$response = $this->call('POST', '/login', $args);
$this->assertEquals(302, $response->status());
@@ -94,7 +93,6 @@ class AuthControllerTest extends TestCase
'email' => 'thegrumpydictator+test@gmail.com',
'password' => 'james123',
'password_confirmation' => 'james123',
'_token' => Session::token(),
];
$response = $this->call('POST', '/register', $args);
$this->assertEquals(302, $response->status());

View File

@@ -19,7 +19,6 @@ class PasswordControllerTest extends TestCase
{
$args = [
'email' => 'thegrumpydictator@gmail.com',
'_token' => Session::token(),
];
$response = $this->call('POST', '/password/email', $args);
$this->assertEquals(302, $response->status());