mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Backend: Add unit tests for pkg/fs
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
func TestFileExists(t *testing.T) {
|
||||
assert.True(t, FileExists("./testdata/test.jpg"))
|
||||
assert.False(t, FileExists("./foo.jpg"))
|
||||
assert.False(t, FileExists(""))
|
||||
}
|
||||
|
||||
func TestPathExists(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user