mirror of https://github.com/status-im/consul.git
Add samenessgroup registration for enterprise (#20624)
This commit is contained in:
parent
2c1addfd64
commit
0c2c7ca9c7
|
@ -722,7 +722,7 @@ func TestController_OrphanedTrafficPermissions(t *testing.T) {
|
||||||
client := rtest.NewClient(
|
client := rtest.NewClient(
|
||||||
controllertest.NewControllerTestBuilder().
|
controllertest.NewControllerTestBuilder().
|
||||||
WithTenancies(resourcetest.TestTenancies()...).
|
WithTenancies(resourcetest.TestTenancies()...).
|
||||||
WithResourceRegisterFns(types.Register).
|
WithResourceRegisterFns(types.Register, multicluster.RegisterTypes).
|
||||||
WithControllerRegisterFns(func(mgr *controller.Manager) {
|
WithControllerRegisterFns(func(mgr *controller.Manager) {
|
||||||
mgr.Register(Controller(trafficpermissionsmapper.New(), expander.GetSamenessGroupExpander()))
|
mgr.Register(Controller(trafficpermissionsmapper.New(), expander.GetSamenessGroupExpander()))
|
||||||
}).
|
}).
|
||||||
|
|
Loading…
Reference in New Issue