From a26fa0f7b9199201bf5b516426b9b7f1ae3a8275 Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Tue, 28 Jan 2025 17:40:01 +0200 Subject: [PATCH] fix order based JSONEq unit --- internal/api/discovery_test.go | 36 ---------------------------------- 1 file changed, 36 deletions(-) diff --git a/internal/api/discovery_test.go b/internal/api/discovery_test.go index ccd762bf..9e899627 100644 --- a/internal/api/discovery_test.go +++ b/internal/api/discovery_test.go @@ -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: `{