Skip to content

Commit

Permalink
testing cross platform
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianIOHK committed May 6, 2024
1 parent 60e71a2 commit 1fbfbed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,7 @@ class PolluxImpl(
id = UUID.randomUUID().toString(),
filter = InputFieldFilter(
type = "String",
pattern = issuer,
value = StringPredicate("")
pattern = issuer
),
name = "issuer"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ data class JWTCredential(
val c = this
return object : StorableCredential {
override val id: String
get() = id
get() = c.id
override val recoveryId: String
get() = "jwt+credential"
override val credentialData: ByteArray
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import java.text.SimpleDateFormat
import java.util.*
import junit.framework.TestCase.assertTrue
import kotlinx.coroutines.test.runTest
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.encodeToJsonElement
import org.mockito.kotlin.mock
Expand Down Expand Up @@ -103,7 +104,7 @@ class PolluxImplTest {
claims = mapOf(
"$.vc.credentialSubject.email" to InputFieldFilter(
type = "string",
value = StringPredicate("value")
value = "value"
)
)
),
Expand Down
2 changes: 1 addition & 1 deletion sampleapp/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<string name="mediator_did">Mediator DID:</string>
<string name="agent_status_label">Agent status:</string>
<string name="mediator_did_value">
did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHBzOi8vc2l0LXByaXNtLW1lZGlhdG9yLmF0YWxhcHJpc20uaW8iLCJhIjpbImRpZGNvbW0vdjIiXX19.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6IndzczovL3NpdC1wcmlzbS1tZWRpYXRvci5hdGFsYXByaXNtLmlvL3dzIiwiYSI6WyJkaWRjb21tL3YyIl19fQ
did:peer:2.Ez6LSghwSE437wnDE1pt3X6hVDUQzSjsHzinpX3XFvMjRAm7y.Vz6Mkhh1e5CEYYq6JBUcTZ6Cp2ranCWRrv7Yax3Le4N59R6dd.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHBzOi8vY3Jpc3RpYW4tbWVkaWF0b3IuanJpYm8ua2l3aSIsImEiOlsiZGlkY29tbS92MiJdfX0.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6IndzczovL2NyaXN0aWFuLW1lZGlhdG9yLmpyaWJvLmtpd2kvd3MiLCJhIjpbImRpZGNvbW0vdjIiXX19
</string>
<string name="credentials_label">Credentials</string>
<string name="host_label">Host:</string>
Expand Down

0 comments on commit 1fbfbed

Please sign in to comment.