Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlopec authored and bootstraponline committed Apr 5, 2022
1 parent 0fba099 commit 9a0ac14
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test_runner/src/test/kotlin/ftl/args/AndroidArgsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import ftl.args.yml.AppTestPair
import ftl.args.yml.Type
import ftl.client.google.GcStorage
import ftl.client.google.GcStorage.exist
import ftl.client.google.getAndroidAppDetails
import ftl.client.google.run.android.setupAndroidTest
import ftl.config.Device
import ftl.config.FtlConstants.defaultAndroidModel
Expand Down Expand Up @@ -1739,16 +1738,11 @@ AndroidArgs
getMockedTestMatrix()
)

mockkStatic("ftl.client.google.AppDetailsKt")
every {
getAndroidAppDetails(any())
} returns "com.example.test_app"

mockkObject(Mixpanel)

runBlocking { parsedYml.runAndroidTests() }

verify(exactly = 0) { Mixpanel.add(any<String>(), any()) }
verify { Mixpanel.add(Mixpanel.APP_ID, "") }
}

@Test
Expand Down

0 comments on commit 9a0ac14

Please sign in to comment.