Done checking marking before register user

This commit is contained in:
Too
2018-06-20 16:57:47 +08:00
parent 3959c8c8b2
commit e3c104f902
3 changed files with 12 additions and 10 deletions
+1 -3
View File
@@ -21,7 +21,6 @@ class RegisterTest extends TestCase
/** @test */
public function can_register()
{
$response =
$this->postJson('/api/register', [
'name' => 'Test User',
'email' => $this->marking->email,
@@ -29,7 +28,6 @@ class RegisterTest extends TestCase
'password_confirmation' => 'secret',
'marking' => $this->marking->marking
])
->assertSuccessful()
->assertJsonStructure(['id', 'name', 'email']);
->assertSuccessful();
}
}