From 0c2c7ca9c77ea57d0aeeb9f5888bb6333e709804 Mon Sep 17 00:00:00 2001 From: "Chris S. Kim" Date: Tue, 13 Feb 2024 13:23:19 -0500 Subject: [PATCH] Add samenessgroup registration for enterprise (#20624) --- .../internal/controllers/trafficpermissions/controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/auth/internal/controllers/trafficpermissions/controller_test.go b/internal/auth/internal/controllers/trafficpermissions/controller_test.go index b7a751353e..e96c9fef0e 100644 --- a/internal/auth/internal/controllers/trafficpermissions/controller_test.go +++ b/internal/auth/internal/controllers/trafficpermissions/controller_test.go @@ -722,7 +722,7 @@ func TestController_OrphanedTrafficPermissions(t *testing.T) { client := rtest.NewClient( controllertest.NewControllerTestBuilder(). WithTenancies(resourcetest.TestTenancies()...). - WithResourceRegisterFns(types.Register). + WithResourceRegisterFns(types.Register, multicluster.RegisterTypes). WithControllerRegisterFns(func(mgr *controller.Manager) { mgr.Register(Controller(trafficpermissionsmapper.New(), expander.GetSamenessGroupExpander())) }).