Skip to content

Commit

Permalink
test(jvm): cause jvm kotlin tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
coriolinus committed Nov 22, 2024
1 parent 1bad3e4 commit fadf653
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package com.wire.crypto.client

import com.wire.crypto.CoreCryptoException
import com.wire.crypto.MlsException
import java.nio.file.Files
import kotlin.test.Test
import kotlin.test.assertEquals
Expand Down Expand Up @@ -68,11 +69,11 @@ class MLSTest {
cc.transaction { ctx -> context = ctx }

val expectedException =
assertFailsWith<CoreCryptoException.CryptoException> {
assertFailsWith<CoreCryptoException.Mls> {
context!!.mlsInit(aliceId.toClientId())
}

assertIs<CryptoError.InvalidContext>(expectedException.error)
assertIs<MlsException.Other>(expectedException.v1)
}

@Test
Expand Down

0 comments on commit fadf653

Please sign in to comment.