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
@@ -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);
});