feat: translation codes
This commit is contained in:
@@ -70,7 +70,7 @@ it('prevents replacing a document while it is under review', function () {
|
||||
'document' => UploadedFile::fake()->image('identity.jpg'),
|
||||
])
|
||||
->assertConflict()
|
||||
->assertJsonPath('message', __('api.certification.already_pending'));
|
||||
->assertJsonPath('code', 'CERTIFICATION_ALREADY_PENDING');
|
||||
});
|
||||
|
||||
it('approves a certification and removes the reviewed identity document', function () {
|
||||
|
||||
Reference in New Issue
Block a user