Skip to content

Commit 879ca60

Browse files
committed
Added fix for android tests
1 parent 2e49afd commit 879ca60

File tree

1 file changed

+1
-8
lines changed
  • firebase-auth/src/androidAndroidTest/kotlin/dev/gitlive/firebase/auth

1 file changed

+1
-8
lines changed

firebase-auth/src/androidAndroidTest/kotlin/dev/gitlive/firebase/auth/auth.kt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,7 @@ actual val emulatorHost: String = "10.0.2.2"
1313

1414
actual val context: Any = InstrumentationRegistry.getInstrumentation().targetContext
1515

16-
actual val currentPlatform: Platform = Platform.Android
17-
18-
actual fun runTest(skip: Boolean, test: suspend () -> Unit) = runBlocking {
19-
if (skip) {
20-
Log.w("Test", "Skip the test.")
21-
return@runBlocking
22-
}
23-
16+
actual fun runTest(test: suspend () -> Unit) = runBlocking {
2417
test()
2518
}
2619

0 commit comments

Comments
 (0)