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())) }).