File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/src/androidTest/java/com/pcapplusplus/toyvpn Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import com.pcapplusplus.toyvpn.ui.theme.ToyVpnPcapPlusPlusTheme
2020import io.mockk.every
2121import io.mockk.mockk
2222import io.mockk.verify
23- import org.junit.Assert.assertEquals
23+ import org.junit.Assert.assertTrue
2424import org.junit.Before
2525import org.junit.Rule
2626import org.junit.Test
@@ -228,7 +228,10 @@ class StatsScreenTest {
228228 fun testVpnDisconnecting () {
229229 renderScreen(vpnConnectionState = VpnConnectionState .DISCONNECTING )
230230
231- assertTrue(" bla" == composeTestRule.onNodeWithText(" Disconnecting..." ).printToString(), " BLA BLA: ${composeTestRule.onNodeWithText(" Disconnecting..." ).printToString()} " )
231+ assertTrue(
232+ " BLA BLA: ${composeTestRule.onNodeWithText(" Disconnecting..." ).printToString()} " ,
233+ " bla" == composeTestRule.onNodeWithText(" Disconnecting..." ).printToString(),
234+ )
232235
233236 composeTestRule.waitUntil(timeoutMillis = 10000 ) {
234237 try {
You can’t perform that action at this time.
0 commit comments