mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-26 13:34:52 +08:00
Merge pull request #1476 from oblador/updatePhoneNumber
[auth] Support updatePhoneNumber
This commit is contained in:
@@ -461,18 +461,6 @@ describe('auth().currentUser', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('updatePhoneNumber()', () => {
|
||||
it('should throw an unsupported error', async () => {
|
||||
await firebase.auth().signInAnonymouslyAndRetrieveData();
|
||||
(() => {
|
||||
firebase.auth().currentUser.updatePhoneNumber();
|
||||
}).should.throw(
|
||||
'User.updatePhoneNumber() is unsupported by the native Firebase SDKs.'
|
||||
);
|
||||
await firebase.auth().signOut();
|
||||
});
|
||||
});
|
||||
|
||||
describe('refreshToken', () => {
|
||||
it('should throw an unsupported error', async () => {
|
||||
await firebase.auth().signInAnonymouslyAndRetrieveData();
|
||||
|
||||
Reference in New Issue
Block a user