MCPcopy
hub / github.com/syncthing/syncthing / TestClusterConfigOnFolderRemove

Function TestClusterConfigOnFolderRemove

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

Source from the content-addressed store, hash-verified

3574}
3575
3576func TestClusterConfigOnFolderRemove(t *testing.T) {
3577 testConfigChangeTriggersClusterConfigs(t, true, false, nil, func(cfg config.Wrapper) {
3578 rcfg := cfg.RawCopy()
3579 rcfg.Folders = nil
3580 replace(t, cfg, rcfg)
3581 })
3582}
3583
3584func TestClusterConfigOnFolderPause(t *testing.T) {
3585 testConfigChangeTriggersClusterConfigs(t, true, false, nil, func(cfg config.Wrapper) {

Callers

nothing calls this directly

Calls 3

replaceFunction · 0.70
RawCopyMethod · 0.65

Tested by

no test coverage detected