From be6734a9df93b07b01c1485b38b9e67a49b40218 Mon Sep 17 00:00:00 2001 From: Allain Magyar Date: Wed, 28 Feb 2024 14:06:45 -0300 Subject: [PATCH] test: updates client and fixes endpoint (#129) Co-authored-by: Ahmed Moussa Signed-off-by: Allain Magyar --- tests/end-to-end/build.gradle.kts | 4 ++-- .../kotlin/io/iohk/atala/prism/configuration/Environment.kt | 2 +- .../src/test/kotlin/io/iohk/atala/prism/models/JwtSchema.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/end-to-end/build.gradle.kts b/tests/end-to-end/build.gradle.kts index 9cf8d4a99..df848fc46 100644 --- a/tests/end-to-end/build.gradle.kts +++ b/tests/end-to-end/build.gradle.kts @@ -29,8 +29,8 @@ repositories { } dependencies { - testImplementation("io.iohk.atala.prism.walletsdk:atala-prism-sdk:2.6.0") - testImplementation("io.iohk.atala.prism:prism-kotlin-client:1.19.1") + testImplementation("io.iohk.atala.prism.walletsdk:atala-prism-sdk:2.7.0") + testImplementation("io.iohk.atala.prism:prism-kotlin-client:1.28.0") testImplementation("io.iohk.atala:atala-automation:0.3.0") } diff --git a/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/configuration/Environment.kt b/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/configuration/Environment.kt index 784f94a99..816ad1875 100644 --- a/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/configuration/Environment.kt +++ b/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/configuration/Environment.kt @@ -217,7 +217,7 @@ object Environment { version = "1.0.0", tag = "automation-test", author = publishedDid, - schemaId = "${agentUrl}/schema-registry/schemas/${newSchemaGuid}", + schemaId = "${agentUrl}/schema-registry/schemas/${newSchemaGuid}/schema", signatureType = "CL", supportRevocation = true, description = "Test Automation Auto-Generated" diff --git a/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/models/JwtSchema.kt b/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/models/JwtSchema.kt index da400ed20..32e077cf1 100644 --- a/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/models/JwtSchema.kt +++ b/tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/models/JwtSchema.kt @@ -9,7 +9,7 @@ data class JwtSchema ( @SerializedName("\$schema") var schema: String = "", - @SerializedName("\$description") + @SerializedName("description") var description: String = "", @SerializedName("type")