|
@@ -38,10 +38,10 @@ |
|
|
block discarded – undo |
|
38
|
38
|
'name' => $data['name'], |
|
39
|
39
|
], $response); |
|
40
|
40
|
|
|
41
|
|
- // assert response contain the token |
|
|
41
|
+ // assert response contain the token |
|
42
|
42
|
$this->assertResponseContainKeys(['id', 'token'], $response); |
|
43
|
43
|
|
|
44
|
|
- // assert the data is stored in the database |
|
|
44
|
+ // assert the data is stored in the database |
|
45
|
45
|
$this->seeInDatabase('users', ['email' => $data['email']]); |
|
46
|
46
|
|
|
47
|
47
|
$responseContent = $this->getResponseContent($response); |
Please login to merge, or discard this patch.