mirror of
https://github.com/hmalik144/Driver.git
synced 2026-03-18 07:26:03 +00:00
- FirebaseTest.kt updated
Took 4 minutes
This commit is contained in:
@@ -60,7 +60,7 @@ open class FirebaseTest<T : BaseActivity<*>>(
|
|||||||
|
|
||||||
// remove the user we created for testing
|
// remove the user we created for testing
|
||||||
suspend fun removeUser() {
|
suspend fun removeUser() {
|
||||||
getEmail()?.let {
|
firebaseAuthSource.getUser()?.email?.let {
|
||||||
firebaseAuthSource.reauthenticate(it, USER_PASSWORD).await()
|
firebaseAuthSource.reauthenticate(it, USER_PASSWORD).await()
|
||||||
firebaseAuthSource.deleteProfile().await()
|
firebaseAuthSource.deleteProfile().await()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user