forked from eatvio/eatvio_app
fix: analyzer issue
This commit is contained in:
@@ -14,17 +14,17 @@ void main() {
|
||||
MyPlansCubit? myPlansCubit;
|
||||
late MockMyPlansRepository mockMyPlansRepository;
|
||||
|
||||
final testPlan = PlanModel(
|
||||
const testPlan = PlanModel(
|
||||
id: 1,
|
||||
slug: 'test-plan',
|
||||
name: 'Test Plan',
|
||||
image: 'https://someurl.com/img.jpg',
|
||||
duration: 30,
|
||||
state: 'active',
|
||||
type: const PlanType(fit: true, slim: false, behavior: false, wellness: false),
|
||||
type: PlanType(fit: true, slim: false, behavior: false, wellness: false),
|
||||
details: 'Test plan description',
|
||||
packetsCount: 1,
|
||||
author: const Author(authorSlug: '', authorName: '', authorProfileIcon: '', authorIsMe: false),
|
||||
author: Author(authorSlug: '', authorName: '', authorProfileIcon: '', authorIsMe: false),
|
||||
totalLikes: 1,
|
||||
totalViews: 1,
|
||||
totalComments: 1,
|
||||
@@ -34,9 +34,9 @@ void main() {
|
||||
wasLikedByMe: false,
|
||||
);
|
||||
|
||||
final testPlansPagination = PlanPaginationModel(
|
||||
const testPlansPagination = PlanPaginationModel(
|
||||
data: [testPlan],
|
||||
links: const Links(first: '', last: '', prev: null, next: null),
|
||||
links: Links(first: '', last: '', prev: null, next: null),
|
||||
meta: Meta(currentPage: 1, lastPage: 1, total: 1, perPage: 10, from: null, links: [Link(url: null, label: null, active: null)], to: null, totalMinPrice: 100, totalMaxPrice: 500),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user