style: dart format fix
This commit was merged in pull request #176.
This commit is contained in:
+2
-2
@@ -121,7 +121,7 @@ void main() {
|
||||
'emits failure',
|
||||
setUp: () {
|
||||
when(() => authenticationRepository.sendEmailVerification())
|
||||
.thenAnswer((_) async => Err(ServerException('erreur')));
|
||||
.thenAnswer((_) async => const Err(ServerException('erreur')));
|
||||
},
|
||||
build: () => EmailVerificationCubit(
|
||||
authenticationRepository: authenticationRepository,
|
||||
@@ -222,7 +222,7 @@ void main() {
|
||||
'emits failure on refresh error',
|
||||
setUp: () {
|
||||
when(() => authenticationRepository.refresh())
|
||||
.thenAnswer((_) async => Err(ServerException('erreur')));
|
||||
.thenAnswer((_) async => const Err(ServerException('erreur')));
|
||||
},
|
||||
build: () => EmailVerificationCubit(
|
||||
authenticationRepository: authenticationRepository,
|
||||
|
||||
+1
-1
@@ -272,7 +272,7 @@ void main() {
|
||||
() => authenticationRepository.sendPasswordResetEmail(
|
||||
email: any(named: 'email'),
|
||||
),
|
||||
).thenAnswer((_) async => Err(ServerException()));
|
||||
).thenAnswer((_) async => const Err(ServerException()));
|
||||
when(
|
||||
() => formRepository.accessForm(AuthFormName.passwordResetForm),
|
||||
).thenAnswer(
|
||||
|
||||
@@ -435,7 +435,7 @@ void main() {
|
||||
email: any(named: 'email'),
|
||||
password: any(named: 'password'),
|
||||
),
|
||||
).thenAnswer((_) async => Err(ServerException()));
|
||||
).thenAnswer((_) async => const Err(ServerException()));
|
||||
when(
|
||||
() => formRepository.accessForm(AuthFormName.signInForm),
|
||||
).thenAnswer(
|
||||
@@ -615,7 +615,7 @@ void main() {
|
||||
setUp: () {
|
||||
when(
|
||||
() => authenticationRepository.signInAnonymously(),
|
||||
).thenAnswer((_) async => Err(ServerException()));
|
||||
).thenAnswer((_) async => const Err(ServerException()));
|
||||
},
|
||||
build: () => SignInCubit(
|
||||
authenticationRepository: authenticationRepository,
|
||||
|
||||
@@ -406,7 +406,7 @@ void main() {
|
||||
email: any(named: 'email'),
|
||||
password: any(named: 'password'),
|
||||
),
|
||||
).thenAnswer((_) async => Err(ServerException()));
|
||||
).thenAnswer((_) async => const Err(ServerException()));
|
||||
when(
|
||||
() => formRepository.accessForm(AuthFormName.signUpForm),
|
||||
).thenAnswer(
|
||||
|
||||
Reference in New Issue
Block a user