style: dart format fix
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing

This commit was merged in pull request #176.
This commit is contained in:
2023-04-13 23:47:19 +02:00
parent 6152436411
commit b427aff63d
12 changed files with 51 additions and 50 deletions
@@ -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,
@@ -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(