analizer: fixed analizer issues

This commit is contained in:
misha
2026-02-20 13:22:16 +03:00
parent 67e770f5d0
commit cdc5936d3c

View File

@@ -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,