(t *testing.T)
| 3555 | } |
| 3556 | |
| 3557 | func TestClusterConfigOnFolderShare(t *testing.T) { |
| 3558 | testConfigChangeTriggersClusterConfigs(t, true, true, nil, func(cfg config.Wrapper) { |
| 3559 | fcfg := cfg.FolderList()[0] |
| 3560 | fcfg.Devices = []config.FolderDeviceConfiguration{{ |
| 3561 | DeviceID: device2, |
| 3562 | IntroducedBy: protocol.EmptyDeviceID, |
| 3563 | }} |
| 3564 | setFolder(t, cfg, fcfg) |
| 3565 | }) |
| 3566 | } |
| 3567 | |
| 3568 | func TestClusterConfigOnFolderUnshare(t *testing.T) { |
| 3569 | testConfigChangeTriggersClusterConfigs(t, true, false, nil, func(cfg config.Wrapper) { |
nothing calls this directly
no test coverage detected