Set IsUserspaceBind mock so lazy manager starts in engine test

This commit is contained in:
Viktor Liu
2026-07-14 14:00:29 +02:00
committed by Viktor Liu
parent e0f275cc60
commit b9489e5281

View File

@@ -279,7 +279,8 @@ func TestEngine_UpdateNetworkMap(t *testing.T) {
}, MobileDependency{})
wgIface := &MockWGIface{
NameFunc: func() string { return "utun102" },
NameFunc: func() string { return "utun102" },
IsUserspaceBindFunc: func() bool { return true },
RemovePeerFunc: func(peerKey string) error {
return nil
},