feat: translation codes
CI / 🧪 Tests Laravel (push) Successful in 2m34s
CI / 🐳 Build & Push Images (push) Successful in 2m26s

This commit is contained in:
2026-08-14 12:46:29 +02:00
parent 69372a49ed
commit 8b60283eeb
28 changed files with 59 additions and 62 deletions
+1 -1
View File
@@ -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();