From b23ccc0e4d78332958afda61b7429d575bb68f16 Mon Sep 17 00:00:00 2001 From: pdenert Date: Thu, 20 Jun 2024 09:35:57 +0200 Subject: [PATCH] Fix test --- packages/patrol_cli/lib/src/ios/ios_test_backend.dart | 2 -- packages/patrol_cli/test/crossplatform/app_options_test.dart | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/patrol_cli/lib/src/ios/ios_test_backend.dart b/packages/patrol_cli/lib/src/ios/ios_test_backend.dart index ae5cb5076..a1080b6ae 100644 --- a/packages/patrol_cli/lib/src/ios/ios_test_backend.dart +++ b/packages/patrol_cli/lib/src/ios/ios_test_backend.dart @@ -120,7 +120,6 @@ class IOSTestBackend { options.buildForTestingInvocation(), runInShell: true, workingDirectory: _fs.currentDirectory.childDirectory('ios').path, - environment: Map.castFrom(options.flutter.dartDefineFromFile), ) ..disposedBy(scope); process.listenStdOut((l) => _logger.detail('\t$l')).disposedBy(scope); @@ -175,7 +174,6 @@ class IOSTestBackend { ..._platform.environment, 'TEST_RUNNER_PATROL_TEST_PORT': options.testServerPort.toString(), 'TEST_RUNNER_PATROL_APP_PORT': options.appServerPort.toString(), - ...Map.castFrom(options.flutter.dartDefineFromFile), }, workingDirectory: _fs.currentDirectory.childDirectory('ios').path, ) diff --git a/packages/patrol_cli/test/crossplatform/app_options_test.dart b/packages/patrol_cli/test/crossplatform/app_options_test.dart index cb813c744..befb2438f 100644 --- a/packages/patrol_cli/test/crossplatform/app_options_test.dart +++ b/packages/patrol_cli/test/crossplatform/app_options_test.dart @@ -177,7 +177,6 @@ void main() { '--suppress-analytics', ...['--config-only', '--no-codesign', '--debug', '--simulator'], ...['--target', 'integration_test/app_test.dart'], - ...['--dart-define-from-file', ''], ]), ); @@ -267,7 +266,6 @@ void main() { ...['--dart-define', 'EMAIL=user@example.com'], ...['--dart-define', 'PASSWORD=ny4ncat'], ...['--dart-define', 'foo=bar'], - ...['--dart-define-from-file', ''], ]), );