Skip to content

Commit

Permalink
style: apply linters automatic fixes (#1224)
Browse files Browse the repository at this point in the history
Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
  • Loading branch information
github-actions[bot] and hyperledger-bot authored Jun 26, 2024
1 parent 5afe9a6 commit 4044a12
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 @@ -18,7 +18,7 @@ enum class DidPurpose {
ANONCRED {
override val publicKeys = emptyList<ManagedDIDKeyTemplate>()
override val services = emptyList<Service>()
};
}, ;

abstract val publicKeys: List<ManagedDIDKeyTemplate>
abstract val services: List<Service>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CommonSteps {
fun holderHasIssuedCredentialFromIssuerWithSchema(
holder: Actor,
schema: CredentialSchema,
issuer: Actor
issuer: Actor,
) {
actorsHaveExistingConnection(issuer, holder)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ManageDidSteps {
val createDidRequest = createPrismDidRequest(curve, purpose)

actor.attemptsTo(
Post.to("/did-registrar/dids").body(createDidRequest)
Post.to("/did-registrar/dids").body(createDidRequest),
)

if (SerenityRest.lastResponse().statusCode() == SC_CREATED) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ class UpdateDidSteps {
Ensure.thatTheLastResponse().statusCode().isEqualTo(HttpStatus.SC_BAD_REQUEST),
Ensure.that(detail)
.contains(
"Ed25519 must be used in [Authentication, AssertionMethod]. X25519 must be used in [KeyAgreement]"
)
"Ed25519 must be used in [Authentication, AssertionMethod]. X25519 must be used in [KeyAgreement]",
),
)
}
}

0 comments on commit 4044a12

Please sign in to comment.