Skip to content

Commit

Permalink
Fix: Implicit deserialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
acrusage-iaik committed Dec 17, 2024
1 parent 72ef6b9 commit 890fbe2
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import at.asitplus.wallet.lib.agent.Verifier.VerifyCredentialResult.SuccessJwt
import at.asitplus.wallet.lib.data.AtomicAttribute2023
import at.asitplus.wallet.lib.data.ConstantIndex
import at.asitplus.wallet.lib.data.rfc.tokenStatusList.StatusList
import at.asitplus.wallet.lib.data.rfc.tokenStatusList.StatusListView
import at.asitplus.wallet.lib.data.rfc.tokenStatusList.primitives.TokenStatus
import at.asitplus.wallet.lib.data.vckJsonSerializer
import com.benasher44.uuid.uuid4
Expand All @@ -15,9 +14,6 @@ import io.kotest.matchers.shouldBe
import io.kotest.matchers.types.shouldBeInstanceOf
import kotlinx.datetime.Clock
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonEncoder
import kotlinx.serialization.json.encodeToJsonElement
import kotlinx.serialization.json.jsonObject
import kotlin.random.Random
import kotlin.time.Duration.Companion.seconds

Expand Down Expand Up @@ -85,10 +81,6 @@ class AgentRevocationTest : FreeSpec({
val revocationList = issuer.buildStatusList(FixedTimePeriodProvider.timePeriod)
revocationList.shouldNotBeNull()

vckJsonSerializer.encodeToJsonElement(revocationList).jsonObject.let {
it.get("lst") shouldBe "eJy7VgYAAiQBTQ=="
}

verifyStatusList(revocationList, expectedRevokedIndexes)
}

Expand Down

0 comments on commit 890fbe2

Please sign in to comment.