[test] Fix iOS auth test
This commit is contained in:
parent
0e27d7345e
commit
5795e08f2c
|
@ -54,7 +54,8 @@ function authTests({ tryCatch, describe, it, firebase }) {
|
|||
linkedUser.should.be.an.Object();
|
||||
linkedUser.uid.should.be.a.String();
|
||||
linkedUser.toJSON().should.be.an.Object();
|
||||
linkedUser.toJSON().email.should.eql(email);
|
||||
// iOS and Android are inconsistent in returning lowercase / mixed case
|
||||
linkedUser.toJSON().email.toLowerCase().should.eql(email.toLowerCase());
|
||||
linkedUser.isAnonymous.should.equal(false);
|
||||
linkedUser.providerId.should.equal('firebase');
|
||||
return firebase.native.auth().signOut();
|
||||
|
|
Loading…
Reference in New Issue