Skip to content

Commit

Permalink
fix order based JSONEq unit
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Jan 28, 2025
1 parent d273309 commit a26fa0f
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions internal/api/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,42 +56,6 @@ func TestServer_DiscoverQuery(t *testing.T) {
}`,
},
},
{
name: "protocol query",
queryJSON: `{
"id": "4391deb9-9d76-4b97-9b57-2a0f7f6c883e",
"thid": "4391deb9-9d76-4b97-9b57-2a0f7f6c883e",
"typ": "application/iden3comm-plain-json",
"type": "https://didcomm.org/discover-features/2.0/queries",
"body": {
"queries": [
{
"feature-type": "protocol"
}
]
},
"created_time": 1738071909
}`,
expected: expected{
httpCode: http.StatusOK,
responseBody: `{
"disclosures": [
{
"feature-type": "protocol",
"id": "https://iden3-communication.io/credentials/1.0/fetch-request"
},
{
"feature-type": "protocol",
"id": "https://iden3-communication.io/revocation/1.0/request-status"
},
{
"feature-type": "protocol",
"id": "https://didcomm.org/discover-features/2.0/queries"
}
]
}`,
},
},
{
name: "protocol query with match revocation*",
queryJSON: `{
Expand Down

0 comments on commit a26fa0f

Please sign in to comment.