diff --git a/test/features/create_diet/presentation/diet_preview_screen_smoke_test.dart b/test/features/create_diet/presentation/diet_preview_screen_smoke_test.dart index b9dbe004..b8b89a3b 100644 --- a/test/features/create_diet/presentation/diet_preview_screen_smoke_test.dart +++ b/test/features/create_diet/presentation/diet_preview_screen_smoke_test.dart @@ -142,17 +142,17 @@ void main() { testWidgets('renders diet preview with isImageInBase64 false (URL image)', (tester) async { await mockNetworkImagesFor(() async { - final testDiet = Diet( + const testDiet = Diet( id: 1, slug: 'test-diet', name: 'Test Diet URL Image', image: 'https://example.com/diet-cover.jpg', duration: 7, state: DietState.active, - type: const DietType(veg: true, light: false, carb: false, meat: false), + type: DietType(veg: true, light: false, carb: false, meat: false), details: 'Test diet details', dailySchedule: {}, - author: const Author(authorSlug: 'test-author', authorName: 'Test Author', authorProfileIcon: 'https://example.com/photo.jpg', authorIsMe: false), + author: Author(authorSlug: 'test-author', authorName: 'Test Author', authorProfileIcon: 'https://example.com/photo.jpg', authorIsMe: false), totalLikes: 10, totalViews: 100, totalComments: 5,