feat: translation codes
This commit is contained in:
@@ -21,7 +21,7 @@ it('updates the authenticated user password and keeps the current api token', fu
|
||||
'passwordConfirmation' => 'NewPassword123!',
|
||||
])
|
||||
->assertOk()
|
||||
->assertJsonPath('message', __('api.auth.password_updated'));
|
||||
->assertJsonPath('code', 'PASSWORD_UPDATED');
|
||||
|
||||
expect(Hash::check('NewPassword123!', $user->fresh()->password))->toBeTrue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user