The createUserWithEmailAndPassword method creates a user with a verified email.
Given:
mockFirebaseAuth.createUserWithEmailAndPassword(email: "email@email.com", password: "password");
I get mockFirebaseAuth.currentUser with _isEmailVerified = true, but expect false - email verification is yet to happen.
Is such behavoir expected?
The
createUserWithEmailAndPasswordmethod creates a user with a verified email.Given:
I get
mockFirebaseAuth.currentUserwith_isEmailVerified = true, but expectfalse- email verification is yet to happen.Is such behavoir expected?