feat: fix test

This commit is contained in:
2026-05-17 19:32:23 +02:00
parent c9b51f3225
commit 3bc079e568
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -18,6 +18,7 @@ it('stores and returns the selected meal post visibility', function () {
'title' => 'Bowl saumon avocat',
'eaten_at' => '2026-05-16T12:00:00.000Z',
'visibility' => MealPostVisibility::Followers->value,
'type' => \App\Enums\MealPostType::BREAKFAST->value,
]);
$response
@@ -40,6 +41,7 @@ it('defaults meal post visibility to private', function () {
'image_url' => 'https://example.com/meal.jpg',
'title' => 'Bowl saumon avocat',
'eaten_at' => '2026-05-16T12:00:00.000Z',
'type' => \App\Enums\MealPostType::BREAKFAST->value,
]);
$response
@@ -55,6 +57,7 @@ it('validates meal post visibility', function () {
'title' => 'Bowl saumon avocat',
'eaten_at' => '2026-05-16T12:00:00.000Z',
'visibility' => 'friends',
'type' => \App\Enums\MealPostType::BREAKFAST->value,
]);
$response