From ad614bd327cb6368450a1cf420bf70c63445f79d Mon Sep 17 00:00:00 2001 From: Salakar Date: Wed, 23 Aug 2017 11:19:20 +0100 Subject: [PATCH] [tests] update phone auth test file --- tests/src/bench.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tests/src/bench.js b/tests/src/bench.js index 8234e911..5de6fb7e 100644 --- a/tests/src/bench.js +++ b/tests/src/bench.js @@ -4,6 +4,7 @@ import { View, Button, Text, TextInput, Image } from 'react-native'; import fb from './firebase'; const firebase = fb.native; +if (firebase.auth().currentUser) firebase.auth().signOut(); const successImageUri = 'https://cdn.pixabay.com/photo/2015/06/09/16/12/icon-803718_1280.png'; export default class PhoneAuthTest extends Component { @@ -13,7 +14,7 @@ export default class PhoneAuthTest extends Component { user: null, message: '', codeInput: '', - phoneNumber: '+44', + phoneNumber: '+447', confirmResult: null, }; } @@ -84,6 +85,21 @@ export default class PhoneAuthTest extends Component { Signed In! {JSON.stringify(user)} +