Add samenessgroup registration for enterprise (#20624)

This commit is contained in:
Chris S. Kim 2024-02-13 13:23:19 -05:00 committed by GitHub
parent 2c1addfd64
commit 0c2c7ca9c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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