Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@collinjackson
Copy link
Contributor

@collinjackson collinjackson commented Jul 29, 2019

Adds integration testing

Fixes flutter/flutter#37160

@collinjackson collinjackson requested a review from kroikie as a code owner July 29, 2019 16:21
@collinjackson collinjackson changed the title Fixes for iOS auth crash on failed sign-in [firebase_auth] Fixes for iOS auth crash on failed sign-in Jul 29, 2019

test('email auth', () async {
final Random random = Random();
final String testEmail = 'testuser${random.nextInt(100000000)}@gmail.com';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no concern of a clash here which may make the test flaky?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unlikely since the user is deleted at the end of the test.

I am reluctant to roll my own random string generator since there's already a package for that: https://pub.dev/packages/random_string

Switched to using uuid for now.

@collinjackson collinjackson merged commit aa2214d into flutter:master Jul 29, 2019
@collinjackson collinjackson deleted the auth_email_password branch July 29, 2019 20:23
mithun-mondal pushed a commit to bKash-developer/archived_plugins that referenced this pull request Aug 6, 2019
)

* Fix for iOS auth crash

* Update to new Firebase project

* Additional integration testing
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
)

* Fix for iOS auth crash

* Update to new Firebase project

* Additional integration testing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in firebase_auth with email/password user

3 participants