mirror of
https://github.com/Dvorinka/1356.git
synced 2026-06-05 04:22:55 +00:00
small fix, don't worry about it
This commit is contained in:
@@ -6,18 +6,19 @@
|
||||
import 'dart:async' as _i7;
|
||||
|
||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart'
|
||||
as _i14;
|
||||
as _i15;
|
||||
import 'package:lifetimer/core/utils/unit_conversion_utils.dart' as _i9;
|
||||
import 'package:lifetimer/data/models/activity_model.dart' as _i5;
|
||||
import 'package:lifetimer/data/models/goal_model.dart' as _i2;
|
||||
import 'package:lifetimer/data/models/goal_step_model.dart' as _i3;
|
||||
import 'package:lifetimer/data/models/user_model.dart' as _i4;
|
||||
import 'package:lifetimer/data/repositories/auth_repository.dart' as _i6;
|
||||
import 'package:lifetimer/data/repositories/countdown_repository.dart' as _i10;
|
||||
import 'package:lifetimer/data/repositories/goals_repository.dart' as _i9;
|
||||
import 'package:lifetimer/data/repositories/countdown_repository.dart' as _i11;
|
||||
import 'package:lifetimer/data/repositories/goals_repository.dart' as _i10;
|
||||
import 'package:lifetimer/data/repositories/notifications_repository.dart'
|
||||
as _i13;
|
||||
import 'package:lifetimer/data/repositories/social_repository.dart' as _i12;
|
||||
import 'package:lifetimer/data/repositories/user_repository.dart' as _i11;
|
||||
as _i14;
|
||||
import 'package:lifetimer/data/repositories/social_repository.dart' as _i13;
|
||||
import 'package:lifetimer/data/repositories/user_repository.dart' as _i12;
|
||||
import 'package:mockito/mockito.dart' as _i1;
|
||||
import 'package:supabase_flutter/supabase_flutter.dart' as _i8;
|
||||
|
||||
@@ -162,8 +163,14 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
_i7.Future<void> signUpWithEmail(
|
||||
String? email,
|
||||
String? password,
|
||||
String? username,
|
||||
) =>
|
||||
String? username, {
|
||||
double? heightCm,
|
||||
double? weightKg,
|
||||
int? age,
|
||||
_i9.Gender? gender,
|
||||
_i9.HeightUnit? heightUnit,
|
||||
_i9.WeightUnit? weightUnit,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#signUpWithEmail,
|
||||
@@ -172,6 +179,14 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
password,
|
||||
username,
|
||||
],
|
||||
{
|
||||
#heightCm: heightCm,
|
||||
#weightKg: weightKg,
|
||||
#age: age,
|
||||
#gender: gender,
|
||||
#heightUnit: heightUnit,
|
||||
#weightUnit: weightUnit,
|
||||
},
|
||||
),
|
||||
returnValue: _i7.Future<void>.value(),
|
||||
returnValueForMissingStub: _i7.Future<void>.value(),
|
||||
@@ -197,16 +212,6 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
returnValueForMissingStub: _i7.Future<void>.value(),
|
||||
) as _i7.Future<void>);
|
||||
|
||||
@override
|
||||
_i7.Future<void> signInWithApple() => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#signInWithApple,
|
||||
[],
|
||||
),
|
||||
returnValue: _i7.Future<void>.value(),
|
||||
returnValueForMissingStub: _i7.Future<void>.value(),
|
||||
) as _i7.Future<void>);
|
||||
|
||||
@override
|
||||
_i7.Future<void> signOut() => (super.noSuchMethod(
|
||||
Invocation.method(
|
||||
@@ -233,6 +238,12 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
String? bio,
|
||||
String? avatarUrl,
|
||||
bool? isPublicProfile,
|
||||
double? heightCm,
|
||||
double? weightKg,
|
||||
int? age,
|
||||
_i9.Gender? gender,
|
||||
_i9.HeightUnit? heightUnit,
|
||||
_i9.WeightUnit? weightUnit,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
@@ -243,6 +254,12 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
#bio: bio,
|
||||
#avatarUrl: avatarUrl,
|
||||
#isPublicProfile: isPublicProfile,
|
||||
#heightCm: heightCm,
|
||||
#weightKg: weightKg,
|
||||
#age: age,
|
||||
#gender: gender,
|
||||
#heightUnit: heightUnit,
|
||||
#weightUnit: weightUnit,
|
||||
},
|
||||
),
|
||||
returnValue: _i7.Future<void>.value(),
|
||||
@@ -253,7 +270,7 @@ class MockAuthRepository extends _i1.Mock implements _i6.AuthRepository {
|
||||
/// A class which mocks [GoalsRepository].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockGoalsRepository extends _i1.Mock implements _i9.GoalsRepository {
|
||||
class MockGoalsRepository extends _i1.Mock implements _i10.GoalsRepository {
|
||||
MockGoalsRepository() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
@@ -397,7 +414,7 @@ class MockGoalsRepository extends _i1.Mock implements _i9.GoalsRepository {
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockCountdownRepository extends _i1.Mock
|
||||
implements _i10.CountdownRepository {
|
||||
implements _i11.CountdownRepository {
|
||||
MockCountdownRepository() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
@@ -445,7 +462,7 @@ class MockCountdownRepository extends _i1.Mock
|
||||
/// A class which mocks [UserRepository].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockUserRepository extends _i1.Mock implements _i11.UserRepository {
|
||||
class MockUserRepository extends _i1.Mock implements _i12.UserRepository {
|
||||
MockUserRepository() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
@@ -476,6 +493,12 @@ class MockUserRepository extends _i1.Mock implements _i11.UserRepository {
|
||||
String? instagramHandle,
|
||||
String? tiktokHandle,
|
||||
String? websiteUrl,
|
||||
_i9.Gender? gender,
|
||||
DateTime? birthDate,
|
||||
double? heightCm,
|
||||
double? weightKg,
|
||||
_i9.HeightUnit? heightUnit = _i9.HeightUnit.metric,
|
||||
_i9.WeightUnit? weightUnit = _i9.WeightUnit.metric,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
@@ -491,6 +514,12 @@ class MockUserRepository extends _i1.Mock implements _i11.UserRepository {
|
||||
#instagramHandle: instagramHandle,
|
||||
#tiktokHandle: tiktokHandle,
|
||||
#websiteUrl: websiteUrl,
|
||||
#gender: gender,
|
||||
#birthDate: birthDate,
|
||||
#heightCm: heightCm,
|
||||
#weightKg: weightKg,
|
||||
#heightUnit: heightUnit,
|
||||
#weightUnit: weightUnit,
|
||||
},
|
||||
),
|
||||
returnValue: _i7.Future<_i4.User>.value(_FakeUser_2(
|
||||
@@ -508,6 +537,12 @@ class MockUserRepository extends _i1.Mock implements _i11.UserRepository {
|
||||
#instagramHandle: instagramHandle,
|
||||
#tiktokHandle: tiktokHandle,
|
||||
#websiteUrl: websiteUrl,
|
||||
#gender: gender,
|
||||
#birthDate: birthDate,
|
||||
#heightCm: heightCm,
|
||||
#weightKg: weightKg,
|
||||
#heightUnit: heightUnit,
|
||||
#weightUnit: weightUnit,
|
||||
},
|
||||
),
|
||||
)),
|
||||
@@ -536,7 +571,7 @@ class MockUserRepository extends _i1.Mock implements _i11.UserRepository {
|
||||
/// A class which mocks [SocialRepository].
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockSocialRepository extends _i1.Mock implements _i12.SocialRepository {
|
||||
class MockSocialRepository extends _i1.Mock implements _i13.SocialRepository {
|
||||
MockSocialRepository() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
@@ -673,7 +708,7 @@ class MockSocialRepository extends _i1.Mock implements _i12.SocialRepository {
|
||||
///
|
||||
/// See the documentation for Mockito's code generation for more information.
|
||||
class MockNotificationsRepository extends _i1.Mock
|
||||
implements _i13.NotificationsRepository {
|
||||
implements _i14.NotificationsRepository {
|
||||
MockNotificationsRepository() {
|
||||
_i1.throwOnMissingStub(this);
|
||||
}
|
||||
@@ -769,13 +804,13 @@ class MockNotificationsRepository extends _i1.Mock
|
||||
) as _i7.Future<void>);
|
||||
|
||||
@override
|
||||
_i7.Future<List<_i14.PendingNotificationRequest>> getPendingNotifications() =>
|
||||
_i7.Future<List<_i15.PendingNotificationRequest>> getPendingNotifications() =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#getPendingNotifications,
|
||||
[],
|
||||
),
|
||||
returnValue: _i7.Future<List<_i14.PendingNotificationRequest>>.value(
|
||||
<_i14.PendingNotificationRequest>[]),
|
||||
) as _i7.Future<List<_i14.PendingNotificationRequest>>);
|
||||
returnValue: _i7.Future<List<_i15.PendingNotificationRequest>>.value(
|
||||
<_i15.PendingNotificationRequest>[]),
|
||||
) as _i7.Future<List<_i15.PendingNotificationRequest>>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user