mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[tests][auth] remove fetchProvidersForEmail usage - fn no longer exists
This commit is contained in:
@@ -943,7 +943,7 @@ describe('auth()', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('fetchProvidersForEmail/fetchSignInMethodsForEmail()', () => {
|
||||
describe('fetchSignInMethodsForEmail()', () => {
|
||||
it('it should return password provider for an email address', () =>
|
||||
new Promise((resolve, reject) => {
|
||||
const successCb = providers => {
|
||||
@@ -958,7 +958,7 @@ describe('auth()', () => {
|
||||
|
||||
return firebase
|
||||
.auth()
|
||||
.fetchProvidersForEmail('test@test.com')
|
||||
.fetchSignInMethodsForEmail('test@test.com')
|
||||
.then(successCb)
|
||||
.catch(failureCb);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user