feat: translations

This commit is contained in:
2026-05-20 20:54:41 +02:00
parent 9aaf311e54
commit bcc067ec67
29 changed files with 703 additions and 47 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ it('creates one review per user for a meal post', function () {
'rating' => 4,
])
->assertConflict()
->assertJsonPath('message', 'Vous avez déjà donné un avis pour ce repas.');
->assertJsonPath('message', __('api.post_reviews.already_exists'));
expect(PostReviews::query()->count())->toBe(1);
});