MCPcopy
hub / github.com/syncthing/syncthing / TestClusterConfigOnFolderUnshare

Function TestClusterConfigOnFolderUnshare

lib/model/model_test.go:3568–3574  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3566}
3567
3568func TestClusterConfigOnFolderUnshare(t *testing.T) {
3569 testConfigChangeTriggersClusterConfigs(t, true, false, nil, func(cfg config.Wrapper) {
3570 fcfg := cfg.FolderList()[0]
3571 fcfg.Devices = nil
3572 setFolder(t, cfg, fcfg)
3573 })
3574}
3575
3576func TestClusterConfigOnFolderRemove(t *testing.T) {
3577 testConfigChangeTriggersClusterConfigs(t, true, false, nil, func(cfg config.Wrapper) {

Callers

nothing calls this directly

Calls 3

setFolderFunction · 0.85
FolderListMethod · 0.65

Tested by

no test coverage detected