1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 15:58:32 +00:00

Split CI testing based on flutter channels (#651)

This commit is contained in:
Brett Morgan
2021-01-27 18:42:33 +11:00
committed by GitHub
parent e7d70288d9
commit 9b631a2184
14 changed files with 184 additions and 31 deletions

View File

@@ -54,4 +54,3 @@ class _FirebaseUser implements User {
_FirebaseUser(this.uid);
}

View File

@@ -13,7 +13,7 @@ class MockAuthService implements Auth {
Future<User> signIn() async {
// Sign in will randomly fail 25% of the time.
var random = Random();
if (random.nextInt(4) == 0) {
if (random.nextInt(4) == 0) {
throw SignInException();
}
return MockUser();