Skip to content

Commit

Permalink
tests: update dependencies and add validity period to the VC request
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed Jan 16, 2025
1 parent 8363d1e commit c36c0d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,10 @@ object SDJWTVCPropertiesV1 {

object annotations {
object validityPeriod
extends Annotation[Double](
description = "The validity period in seconds of the verifiable credential that will be issued.",
example = 3600
)
extends Annotation[Double](
description = "The validity period in seconds of the verifiable credential that will be issued.",
example = 3600
)
object issuingDID
extends Annotation[String](
description = """
Expand Down
2 changes: 1 addition & 1 deletion tests/integration-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
testImplementation("io.ktor:ktor-server-netty:2.3.0")
testImplementation("io.ktor:ktor-client-apache:2.3.0")
// RestAPI client
testImplementation("org.hyperledger.identus:cloud-agent-client-kotlin:1.40.1-16c17ce")
testImplementation("org.hyperledger.identus:cloud-agent-client-kotlin:1.40.1-8363d1e")
// Test helpers library
testImplementation("io.iohk.atala:atala-automation:0.4.0")
// Hoplite for configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ enum class CreateCredentialOfferAPIVersion {
claims = claims,
issuingDID = did,
issuingKid = assertionKey,
validityPeriod = validityPeriod ?: 3600.0,
)
} else {
null
Expand Down

0 comments on commit c36c0d9

Please sign in to comment.