fix(testflight): upd proj ver

This commit is contained in:
mso7nueh
2025-05-16 15:54:32 +03:00
parent 083feec4ef
commit 19d44b54b8
3 changed files with 8 additions and 8 deletions

View File

@@ -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>>());
});