Skip to content

Commit

Permalink
Add subscription tests to flutter tests
Browse files Browse the repository at this point in the history
* Add subscription tests to test_driver/realm_test.dart
* Allow network use from test_driver app on macos
  • Loading branch information
nielsenko committed May 5, 2022
1 parent 2483e9d commit b3593c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -8,5 +8,7 @@
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
3 changes: 2 additions & 1 deletion flutter/realm_flutter/tests/test_driver/realm_test.dart
Expand Up @@ -14,7 +14,7 @@ import '../test/results_test.dart' as results_tests;
import '../test/credentials_test.dart' as credentials_tests;
import '../test/app_test.dart' as app_tests;
import '../test/email_password_provider_test.dart' as email_password_provider_test;

import '../test/subscription_test.dart' as subscription_test;
Future<String> main(List<String> args) async {
final Completer<String> completer = Completer<String>();
final List<String> failedTests = [];
Expand All @@ -27,6 +27,7 @@ Future<String> main(List<String> args) async {
await credentials_tests.main(args);
await app_tests.main(args);
await email_password_provider_test.main(args);
await subscription_test.main(args);

tearDown(() {
if (Invoker.current?.liveTest.state.result == test_api.Result.error || Invoker.current?.liveTest.state.result == test_api.Result.failure) {
Expand Down

0 comments on commit b3593c3

Please sign in to comment.