From f371240414a31a2cfb403d3cdbf015511f8340f2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 19 Aug 2026 16:02:49 -0400 Subject: [PATCH] Use a platform-appropriate path in file access error test The hardcoded POSIX path isn't valid on Windows. --- test/tests/fileTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/fileTest.js b/test/tests/fileTest.js index 9639a7fb7f..229ad8bace 100644 --- a/test/tests/fileTest.js +++ b/test/tests/fileTest.js @@ -509,7 +509,7 @@ describe("Zotero.File", function () { var e = { operation: 'open', becauseAccessDenied: true, - path: '/tmp/test' + path: PathUtils.join(Zotero.getTempDirectory().path, 'test') }; try { Zotero.File.checkFileAccessError(e, e.path, 'create');