diff --git a/internal/catalog/catalogtest/run_test.go b/internal/catalog/catalogtest/run_test.go index e2a4718aa0..cc7f0e4afa 100644 --- a/internal/catalog/catalogtest/run_test.go +++ b/internal/catalog/catalogtest/run_test.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/consul/internal/catalog" "github.com/hashicorp/consul/internal/controller/controllertest" + "github.com/hashicorp/consul/internal/multicluster" "github.com/hashicorp/consul/internal/resource/reaper" rtest "github.com/hashicorp/consul/internal/resource/resourcetest" "github.com/hashicorp/consul/proto-public/pbresource" @@ -21,7 +22,7 @@ func runInMemResourceServiceAndControllers(t *testing.T) pbresource.ResourceServ t.Helper() return controllertest.NewControllerTestBuilder(). - WithResourceRegisterFns(catalog.RegisterTypes). + WithResourceRegisterFns(catalog.RegisterTypes, multicluster.RegisterTypes). WithControllerRegisterFns( reaper.RegisterControllers, catalog.RegisterControllers,