TF-4136 Apply early exit to prevent string operation in log
This commit is contained in:
@@ -4,7 +4,6 @@ import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:core/presentation/utils/app_toast.dart';
|
||||
import 'package:core/presentation/utils/responsive_utils.dart';
|
||||
import 'package:core/utils/application_manager.dart';
|
||||
import 'package:dartz/dartz.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -62,7 +61,6 @@ import 'home_controller_test.mocks.dart';
|
||||
MockSpec<GetOidcUserInfoInteractor>(),
|
||||
MockSpec<CachingManager>(),
|
||||
MockSpec<LanguageCacheManager>(),
|
||||
MockSpec<ApplicationManager>(),
|
||||
MockSpec<ToastManager>(),
|
||||
MockSpec<TwakeAppManager>(),
|
||||
])
|
||||
@@ -95,7 +93,6 @@ void main() {
|
||||
late MockImagePaths mockImagePaths;
|
||||
late MockResponsiveUtils mockResponsiveUtils;
|
||||
late MockUuid mockUuid;
|
||||
late MockApplicationManager mockApplicationManager;
|
||||
late MockToastManager mockToastManager;
|
||||
late MockTwakeAppManager mockTwakeAppManager;
|
||||
|
||||
@@ -126,7 +123,6 @@ void main() {
|
||||
mockImagePaths = MockImagePaths();
|
||||
mockResponsiveUtils = MockResponsiveUtils();
|
||||
mockUuid = MockUuid();
|
||||
mockApplicationManager = MockApplicationManager();
|
||||
mockToastManager = MockToastManager();
|
||||
mockTwakeAppManager = MockTwakeAppManager();
|
||||
|
||||
@@ -150,7 +146,6 @@ void main() {
|
||||
Get.put<ImagePaths>(mockImagePaths);
|
||||
Get.put<ResponsiveUtils>(mockResponsiveUtils);
|
||||
Get.put<Uuid>(mockUuid);
|
||||
Get.put<ApplicationManager>(mockApplicationManager);
|
||||
Get.put<ToastManager>(mockToastManager);
|
||||
Get.put<TwakeAppManager>(mockTwakeAppManager);
|
||||
Get.testMode = true;
|
||||
|
||||
Reference in New Issue
Block a user