Skip to content

Commit

Permalink
fix analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticFragilist committed Nov 8, 2023
1 parent 7c62888 commit da2b56f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/viewmodels/login_viewmodel_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import 'package:notredame/core/services/navigation_service.dart';
import 'package:notredame/core/viewmodels/login_viewmodel.dart';
import '../helpers.dart';
import '../mock/managers/user_repository_mock.dart';
import '../mock/services/flutter_secure_storage_mock.dart';

void main() {
// Needed to support FlutterToast.
Expand All @@ -23,7 +22,6 @@ void main() {

NavigationService navigationService;
UserRepositoryMock userRepositoryMock;
FlutterSecureStorageMock flutterSecureStorageMock;

AppIntl appIntl;

Expand All @@ -32,8 +30,7 @@ void main() {
group('LoginViewModel - ', () {
setUp(() async {
navigationService = setupNavigationServiceMock();
flutterSecureStorageMock =
setupFlutterSecureStorageMock() as FlutterSecureStorageMock;
setupFlutterSecureStorageMock();
userRepositoryMock = setupUserRepositoryMock() as UserRepositoryMock;
setupLogger();
setupPreferencesServiceMock();
Expand Down

0 comments on commit da2b56f

Please sign in to comment.