mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
These changes allow to configure the computer vision models through an optional vision.yml configuration file. Note that the API endpoints are not yet functional and require further work. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -30,7 +30,7 @@ func TestWriteFile(t *testing.T) {
|
||||
|
||||
assert.True(t, PathExists(dir))
|
||||
|
||||
fileErr := WriteFile(filePath, fileData)
|
||||
fileErr := WriteFile(filePath, fileData, ModeFile)
|
||||
|
||||
assert.NoError(t, fileErr)
|
||||
assert.FileExists(t, filePath)
|
||||
|
||||
Reference in New Issue
Block a user