mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Use a platform-appropriate path in file access error test
The hardcoded POSIX path isn't valid on Windows.
This commit is contained in:
parent
6ce33bcd81
commit
c220866d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue