Skip to content

Commit

Permalink
fix: Test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoe Maas committed Jul 12, 2024
1 parent 2105846 commit b3f03c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
package com.sphereon.oid.fed.jwks

import com.sphereon.oid.fed.kms.MemoryKeyStore
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import kotlin.test.Test
import kotlin.test.BeforeTest
import kotlin.test.assertNotNull
import kotlin.test.assertEquals


class JWKSGenerationTest {

private lateinit var jwksGenerator: JWKSGenerator

@BeforeEach
@BeforeTest
fun setUp() {
jwksGenerator = JWKSGenerator(MemoryKeyStore())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ package com.sphereon.oid.fed.jwks
import com.nimbusds.jose.jwk.KeyUse
import com.nimbusds.jose.jwk.gen.RSAKeyGenerator
import com.sphereon.oid.fed.kms.MemoryKeyStore
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import kotlin.test.Test
import kotlin.test.BeforeTest
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
import java.util.*

class MemoryKeyStoreTest {

lateinit var kms: MemoryKeyStore
lateinit var keyId: String

@BeforeEach
@BeforeTest
fun setUp() {
kms = MemoryKeyStore()
keyId = UUID.randomUUID().toString()
Expand Down

0 comments on commit b3f03c1

Please sign in to comment.