From eee39a2f7e1f23a8123f772e0a97828701b760b7 Mon Sep 17 00:00:00 2001 From: vyzaldysanchez Date: Thu, 15 Aug 2024 02:01:49 -0400 Subject: [PATCH] Fixes test --- core/services/registrysyncer/orm_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/services/registrysyncer/orm_test.go b/core/services/registrysyncer/orm_test.go index bb26f5e84d7..03772ea22bf 100644 --- a/core/services/registrysyncer/orm_test.go +++ b/core/services/registrysyncer/orm_test.go @@ -104,11 +104,11 @@ func generateState(t *testing.T) registrysyncer.LocalRegistry { IDsToCapabilities: map[string]registrysyncer.Capability{ capabilityIDStr: { ID: capabilityIDStr, - CapabilityType: 0, + CapabilityType: capabilities.CapabilityTypeAction, }, capabilityID2Str: { ID: capabilityID2Str, - CapabilityType: 3, + CapabilityType: capabilities.CapabilityTypeConsensus, }, }, IDsToNodes: map[types.PeerID]kcr.CapabilitiesRegistryNodeInfo{