diff --git a/tangem-core/build.gradle b/tangem-core/build.gradle index c64079660f..bd00611a6a 100644 --- a/tangem-core/build.gradle +++ b/tangem-core/build.gradle @@ -23,8 +23,8 @@ dependencies { implementation 'com.google.code.gson:gson:2.8.6' // tests - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2' - testImplementation "com.google.truth:truth:1.0" + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2' + testImplementation "com.google.truth:truth:1.0.1" } sourceCompatibility = "8" diff --git a/tangem-core/src/test/java/com/tangem/common/apdu/CommandApduTest.kt b/tangem-core/src/test/java/com/tangem/common/apdu/CommandApduTest.kt index c03069b6da..b995c4de57 100644 --- a/tangem-core/src/test/java/com/tangem/common/apdu/CommandApduTest.kt +++ b/tangem-core/src/test/java/com/tangem/common/apdu/CommandApduTest.kt @@ -56,33 +56,4 @@ class CommandApduTest { assertThat(commandApdu.apduData) .isEqualTo(expected) } - - @Test - fun testFlow() { - val channel = BroadcastChannel(1) - val flow = GlobalScope.launch { - delay(100) - channel.send(1) - delay(200) - channel.send(2) - } - - val scope = CoroutineScope(Dispatchers.IO) - val scope2 = CoroutineScope(Dispatchers.IO) - - val receiveChannel1 = BroadcastChannel(1) - val receiveChannel2 = BroadcastChannel(1) - - scope.launch { - channel.asFlow().collect { println(it) } - channel.asFlow().collect { println(it) } - } - scope.launch { channel.asFlow().collect { println(it) } } - - runBlocking { - delay(1000) - } - - - } } \ No newline at end of file