forked from eatvio/eatvio_app
analizer: fixed analizer issues
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user