fix(platform): support Windows storage and native filesystem boundaries
This commit is contained in:
1 parent
3726423338
commit
e239fff253
24 files changed
+355
-51
No files matched your search
@@ -78,6 +78,8 @@ func TestPortableNotesExcludeApplicationData(t *testing.T) {
|
||||
}
|
||||
// As in the real process, export temporary files live inside the application data directory.
|
||||
t.Setenv("TMPDIR", filepath.Join(data, "temp"))
|
||||
t.Setenv("TMP", filepath.Join(data, "temp"))
|
||||
t.Setenv("TEMP", filepath.Join(data, "temp"))
|
||||
res = f.do(f.admin, "POST", "/api/v1/maintenance/notes/export", "", nil)
|
||||
defer res.Body.Close()
|
||||
assertOK(t, res)
|
||||
|
||||
Reference in new issue
Block a user