mirror of
https://github.com/corda/corda.git
synced 2024-12-23 06:42:33 +00:00
ENT-10560 JDK 17 Test Cases Fixes (#7598)
* Updated mockito version and removed ignored annotation to relevant test cases * Updated mockito version and removed ignored annotation to relevant test cases
This commit is contained in:
parent
199e167639
commit
74ca2c6734
client/jackson/src/test/kotlin/net/corda/client/jackson
constants.propertiesnode/src/test/kotlin/net/corda/node/services/identity
@ -48,7 +48,6 @@ import net.corda.coretesting.internal.rigorousMock
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.assertj.core.api.Assertions.assertThatThrownBy
|
||||
import org.junit.Before
|
||||
import org.junit.Ignore
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
import org.junit.jupiter.api.TestFactory
|
||||
@ -701,7 +700,6 @@ class JacksonSupportTest(@Suppress("unused") private val name: String, factory:
|
||||
}
|
||||
|
||||
@Test(timeout=300_000)
|
||||
@Ignore("TODO JDK17: Fixme")
|
||||
fun `X509Certificate serialization when extendedKeyUsage is null`() {
|
||||
val cert: X509Certificate = spy(MINI_CORP.identity.certificate)
|
||||
whenever(cert.extendedKeyUsage).thenReturn(null)
|
||||
|
@ -69,7 +69,7 @@ junitVersion=4.12
|
||||
junitVintageVersion=5.5.0-RC1
|
||||
junitJupiterVersion=5.5.0-RC1
|
||||
junitPlatformVersion=1.5.0-RC1
|
||||
mockitoVersion=5.3.0
|
||||
mockitoVersion=5.5.0
|
||||
mockitoKotlinVersion=4.1.0
|
||||
hamkrestVersion=1.7.0.0
|
||||
joptSimpleVersion=5.0.2
|
||||
|
@ -13,7 +13,6 @@ import net.corda.nodeapi.internal.crypto.x509Certificates
|
||||
import net.corda.testing.core.*
|
||||
import net.corda.coretesting.internal.DEV_INTERMEDIATE_CA
|
||||
import net.corda.coretesting.internal.DEV_ROOT_CA
|
||||
import org.junit.Ignore
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertEquals
|
||||
@ -23,7 +22,6 @@ import kotlin.test.assertNull
|
||||
/**
|
||||
* Tests for the in memory identity service.
|
||||
*/
|
||||
@Ignore("TODO JDK17: Fixme")
|
||||
class InMemoryIdentityServiceTests {
|
||||
private companion object {
|
||||
val alice = TestIdentity(ALICE_NAME, 70)
|
||||
|
Loading…
Reference in New Issue
Block a user