diff --git a/tests/integration-tests/build.gradle.kts b/tests/integration-tests/build.gradle.kts index 221265ae72..0bc2566fde 100644 --- a/tests/integration-tests/build.gradle.kts +++ b/tests/integration-tests/build.gradle.kts @@ -38,7 +38,7 @@ dependencies { implementation("io.ktor:ktor-server-netty:2.3.0") implementation("io.ktor:ktor-client-apache:2.3.0") // RestAPI client - implementation("io.iohk.atala.prism:prism-kotlin-client:1.18.0") + implementation("io.iohk.atala.prism:prism-kotlin-client:1.30.0") // Test helpers library testImplementation("io.iohk.atala:atala-automation:0.3.0") // Hoplite for configuration diff --git a/tests/integration-tests/src/test/kotlin/features/verificationpolicies/VerificationPoliciesSteps.kt b/tests/integration-tests/src/test/kotlin/features/verificationpolicies/VerificationPoliciesSteps.kt index 0b1ad616d9..9695b79846 100644 --- a/tests/integration-tests/src/test/kotlin/features/verificationpolicies/VerificationPoliciesSteps.kt +++ b/tests/integration-tests/src/test/kotlin/features/verificationpolicies/VerificationPoliciesSteps.kt @@ -8,7 +8,7 @@ import io.cucumber.java.en.Then import io.cucumber.java.en.When import io.iohk.atala.automation.extensions.get import io.iohk.atala.automation.serenity.ensure.Ensure -import io.iohk.atala.prism.models.VerificationPolicy +import io.iohk.atala.prism.models.VerificationPolicyResponse import io.iohk.atala.prism.models.VerificationPolicyInput import net.serenitybdd.rest.SerenityRest import net.serenitybdd.screenplay.Actor @@ -33,7 +33,7 @@ class VerificationPoliciesSteps { @Then("{actor} sees new verification policy is available") fun newVerificationPolicyIsAvailable(actor: Actor) { - val policy = SerenityRest.lastResponse().get() + val policy = SerenityRest.lastResponse().get() actor.attemptsTo( Ensure.that(policy.id).isNotNull(), Ensure.that(policy.nonce).isNotNull(), @@ -56,7 +56,7 @@ class VerificationPoliciesSteps { @When("{actor} updates a new verification policy") fun acmeUpdatesAVerificationPolicy(actor: Actor) { - val policy = actor.recall("policy") + val policy = actor.recall("policy") val updatePolicyInput = VerificationPolicyInput( name = policy.name, description = "updated description + ${UUID.randomUUID()}", @@ -75,9 +75,9 @@ class VerificationPoliciesSteps { val updatePolicyInput = actor.forget("updatedPolicyInput") actor.attemptsTo( - Get.resource("/verification/policies/${actor.recall("policy").id}") + Get.resource("/verification/policies/${actor.recall("policy").id}") ) - val policy = SerenityRest.lastResponse().get() + val policy = SerenityRest.lastResponse().get() actor.attemptsTo( Ensure.that(policy.id).isNotNull(),