test(auth): fix mock
This commit is contained in:
parent
0a13c67058
commit
6152436411
@ -67,6 +67,9 @@ void main() {
|
||||
when(() => authenticationRepository.sessionStream()).thenAnswer(
|
||||
(_) => const Stream.empty(),
|
||||
);
|
||||
when(() => authenticationRepository.checkForCachedAccount()).thenAnswer(
|
||||
(_) => Future<void>.value(),
|
||||
);
|
||||
});
|
||||
|
||||
test('initial auth state is `unknown`', () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user