test: isolate sync fixture desktop path

This commit is contained in:
Peter Steinberger 2026-05-03 12:12:38 +01:00
parent 2d6de140d9
commit a406662a8d
No known key found for this signature in database

View File

@ -621,6 +621,8 @@ func TestSyncImportsGitShareBeforeLiveDiscord(t *testing.T) {
cfg.Share.RepoPath = filepath.Join(dir, "reader-share")
cfg.Share.AutoUpdate = true
cfg.Share.StaleAfter = "15m"
cfg.Desktop.Path = filepath.Join(dir, "empty-discord")
require.NoError(t, os.MkdirAll(cfg.Desktop.Path, 0o755))
require.NoError(t, config.Write(cfgPath, cfg))
hybrid := &hybridSyncService{}