[auth] Fix incorrect languageCode test

This commit is contained in:
Elliot Hesp 2018-01-06 15:17:59 +00:00
parent a8896bc9b8
commit f4d29b9136
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ function authTests({ tryCatch, describe, it, firebase }) {
throw new Error('Expected language code to be "en".');
}
firebase.native.auth().languageCode = 'fr';
if (firebase.native.auth().languageCode !== 'en') {
if (firebase.native.auth().languageCode !== 'fr') {
throw new Error('Expected language code to be "fr".');
}
firebase.native.auth().languageCode = 'en';