lib/model: Fix addFakeConn and other test improvements (#7684)

This commit is contained in:
Simon Frei
2021-05-16 17:23:27 +02:00
committed by GitHub
parent 96dae7bfec
commit 5b90a98650
6 changed files with 46 additions and 41 deletions
+1 -1
View File
@@ -1297,7 +1297,7 @@ func TestPullSymlinkOverExistingWindows(t *testing.T) {
if !ok {
t.Fatal("file missing")
}
m.Index(device1, f.ID, []protocol.FileInfo{{Name: name, Type: protocol.FileInfoTypeSymlink, Version: file.Version.Update(device1.Short())}})
must(t, m.Index(device1, f.ID, []protocol.FileInfo{{Name: name, Type: protocol.FileInfoTypeSymlink, Version: file.Version.Update(device1.Short())}}))
scanChan := make(chan string)