Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Mar 2, 2023
1 parent 1fa04c6 commit 8743d6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class UpdateDidSteps {
fun actorUpdatesPrismDidByRemovingServices(actor: Actor) {
val updatePrismDidAction = UpdatePrismDidAction(
actionType = "REMOVE_SERVICE",
removeService = TestConstants.PRISM_DID_SERVICE_TO_REMOVE,
removeService = TestConstants.PRISM_DID_UPDATE_NEW_SERVICE,
)
actor.remember("updatePrismDidAction", updatePrismDidAction)
}
Expand Down Expand Up @@ -162,7 +162,7 @@ class UpdateDidSteps {
)
val serviceIds = lastResponseList("did.service.id", String::class)
serviceIds.none {
it == "${TestConstants.PRISM_DID_FOR_UPDATES}#${TestConstants.PRISM_DID_SERVICE_TO_REMOVE.id}"
it == "${TestConstants.PRISM_DID_FOR_UPDATES}#${TestConstants.PRISM_DID_UPDATE_NEW_SERVICE.id}"
}
},
"ERROR: DID UPDATE operation did not succeed on the ledger!",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ Feature: Update DID
Background:
Given Acme have published PRISM DID for updates

@skip @bug @ATL-3705
Scenario: Update PRISM DID by adding new services
When Acme updates PRISM DID with new services
And He submits PRISM DID update operation
Then He sees PRISM DID was successfully updated with new services

@skip @bug @ATL-3705
Scenario: Update PRISM DID by removing services
When Acme updates PRISM DID by removing services
And He submits PRISM DID update operation
Expand Down

0 comments on commit 8743d6b

Please sign in to comment.