()
| 106 | } |
| 107 | |
| 108 | func newFolderConfig() config.FolderConfiguration { |
| 109 | cfg := newFolderConfiguration(defaultCfgWrapper, "default", "default", config.FilesystemTypeFake, rand.String(32)+"?content=true") |
| 110 | cfg.FSWatcherEnabled = false |
| 111 | cfg.PullerDelayS = 0 |
| 112 | cfg.Devices = append(cfg.Devices, config.FolderDeviceConfiguration{DeviceID: device1}) |
| 113 | cfg.BlockIndexing = true |
| 114 | return cfg |
| 115 | } |
| 116 | |
| 117 | func setupModelWithConnection(t testing.TB) (*testModel, *fakeConnection, config.FolderConfiguration) { |
| 118 | t.Helper() |
no test coverage detected