forked from eatvio/eatvio_app
fix(testflight): upd proj ver
This commit is contained in:
@@ -35,7 +35,7 @@ void main() {
|
||||
|
||||
test('getProfileDetailsBySlug', () async {
|
||||
when(mockProfileService.getProfileDetailsBySlug(slug: 'slug')).thenAnswer(
|
||||
(_) async => await Future.value(
|
||||
(_) async => await Future.value(
|
||||
const ProfileDetailsModel(
|
||||
firstName: 'Alexnader',
|
||||
lastName: 'Avanesyan',
|
||||
@@ -70,21 +70,21 @@ void main() {
|
||||
|
||||
test('getBlogPostByAuthorSlug', () async {
|
||||
when(mockProfileService.getBlogPostByAuthorSlug(slug: '')).thenAnswer(
|
||||
(_) async => [],
|
||||
(_) async => [],
|
||||
);
|
||||
expect(await mockProfileService.getBlogPostByAuthorSlug(slug: 'slug'), isA<List<FeedBlogPostModel>>());
|
||||
});
|
||||
|
||||
test('getWeight', () async {
|
||||
when(mockProfileService.getWeight(period: '')).thenAnswer(
|
||||
(_) async => [],
|
||||
(_) async => [],
|
||||
);
|
||||
expect(await mockProfileService.getWeight(period: ''), isA<List<WeightModel>>());
|
||||
});
|
||||
|
||||
test('getCircumferences', () async {
|
||||
when(mockProfileService.getCircumferences(period: '')).thenAnswer(
|
||||
(_) async => [],
|
||||
(_) async => [],
|
||||
);
|
||||
expect(await mockProfileService.getCircumferences(period: ''), isA<List<CircumferenceModel>>());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user