feat: translations
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user