From 3d3b3522175abd83266cc41221539b55b3774316 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Wed, 7 Dec 2022 19:45:25 -0500 Subject: [PATCH] fix(auth): fix mock on register --- .../remote/authentication_mock_data_source_impl.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/wyatt_authentication_bloc/lib/src/data/data_sources/remote/authentication_mock_data_source_impl.dart b/packages/wyatt_authentication_bloc/lib/src/data/data_sources/remote/authentication_mock_data_source_impl.dart index 1d750629..67ef28cd 100644 --- a/packages/wyatt_authentication_bloc/lib/src/data/data_sources/remote/authentication_mock_data_source_impl.dart +++ b/packages/wyatt_authentication_bloc/lib/src/data/data_sources/remote/authentication_mock_data_source_impl.dart @@ -196,6 +196,7 @@ class AuthenticationMockDataSourceImpl extends AuthenticationRemoteDataSource { ); _streamAccount.add(mock); _registeredMock = Pair(mock, password); + _connectedMock = _registeredMock!.copyWith(); _lastSignInTime = DateTime.now(); return Future.value(mock); }