feat: translation codes
This commit is contained in:
@@ -131,7 +131,7 @@ it('fails closed when production moderation cannot be reached', function () {
|
||||
'comment' => 'Très bon repas.',
|
||||
])
|
||||
->assertServiceUnavailable()
|
||||
->assertJsonPath('message', __('api.moderation.unavailable'));
|
||||
->assertJsonPath('code', 'CONTENT_MODERATION_UNAVAILABLE');
|
||||
|
||||
$this->assertDatabaseCount('post_reviews', 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user