feat: translation codes
This commit is contained in:
@@ -62,7 +62,7 @@ it('deletes the authenticated account and related data', function () {
|
||||
|
||||
$this->deleteJson('/api/auth/me')
|
||||
->assertOk()
|
||||
->assertJsonPath('message', __('api.auth.deleted'));
|
||||
->assertJsonPath('code', 'ACCOUNT_DELETED');
|
||||
|
||||
$this->assertDatabaseMissing('users', ['id' => $user->getKey()]);
|
||||
$this->assertDatabaseMissing('meal_posts', ['id' => $localMealPost->getKey()]);
|
||||
|
||||
Reference in New Issue
Block a user