Skip to content

Commit

Permalink
test: initial
Browse files Browse the repository at this point in the history
  • Loading branch information
amagyar-iohk committed Apr 25, 2024
1 parent c54b5b9 commit 523cb36
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ object Environment {
private fun preparePublishedDid(publishedDid: String?) {
try {
assertThat(publishedDid).isNotEmpty()
val response = RestAssured
RestAssured
.given().get("did-registrar/dids/$publishedDid")
.then().assertThat().statusCode(200)
this.publishedDid = publishedDid!!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@credential @anoncred
Feature: Receive anonymous credential
The Edge Agent should be able to receive an anonymous credential from Cloud Agent

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@proof @anoncred
Feature: Respond to request proof
The Edge Agent should be able to respond to a proof-of-request

Scenario: Respond to request proof
Given Cloud Agent is connected to Edge Agent
And Edge Agent has '1' anonymous credentials issued by Cloud Agent
When Cloud Agent asks for present-proof for anoncred
And Edge Agent sends the present-proof
Then Cloud Agent should see the present-proof is verified

0 comments on commit 523cb36

Please sign in to comment.