mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Tests: Don't trigger fatal error if cache path is not empty
This commit is contained in:
@@ -216,7 +216,7 @@ func (c *Config) RemoveTestData(t *testing.T) {
|
||||
}
|
||||
|
||||
if err := os.RemoveAll(c.CachePath()); err != nil {
|
||||
t.Fatal(err)
|
||||
t.Logf("test: %s (remove cache)", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user