From 9e602271ec6324908ce678c45698ca5231b54fc0 Mon Sep 17 00:00:00 2001 From: DaevMithran Date: Tue, 10 Sep 2024 17:12:02 +0530 Subject: [PATCH] fix unit tests --- tests/constants/common.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/constants/common.go b/tests/constants/common.go index d8bca6a8..6715fcd4 100644 --- a/tests/constants/common.go +++ b/tests/constants/common.go @@ -7,6 +7,7 @@ import ( didTypes "github.com/cheqd/cheqd-node/api/v2/cheqd/did/v2" resourceTypes "github.com/cheqd/cheqd-node/api/v2/cheqd/resource/v2" + "github.com/cheqd/did-resolver/types" "google.golang.org/protobuf/types/known/timestamppb" ) @@ -22,7 +23,7 @@ func generateVerificationMethod() didTypes.VerificationMethod { func generateService() didTypes.Service { return didTypes.Service{ Id: ExistentDid + "#" + ValidServiceId, - ServiceType: "DIDCommMessaging", + ServiceType: types.LinkedDomains, ServiceEndpoint: []string{"http://example.com"}, } }