Fix registration.

This commit is contained in:
James Cole 2016-01-20 14:23:50 +01:00
parent 78b56712fc
commit 4fdd2c851f

View File

@ -83,7 +83,6 @@ class AuthControllerTest extends TestCase
$this->assertEquals(200, $response->status()); $this->assertEquals(200, $response->status());
} }
/** /**
@ -95,6 +94,7 @@ class AuthControllerTest extends TestCase
'email' => 'thegrumpydictator+test@gmail.com', 'email' => 'thegrumpydictator+test@gmail.com',
'password' => 'james123', 'password' => 'james123',
'password_confirmation' => 'james123', 'password_confirmation' => 'james123',
'_token' => Session::token(),
]; ];
$response = $this->call('POST', '/register', $args); $response = $this->call('POST', '/register', $args);
$this->assertEquals(302, $response->status()); $this->assertEquals(302, $response->status());