From a9a54ed21cdb22d72ffb5b4470bbc6af01fb3497 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 21 Dec 2016 08:23:31 -0500 Subject: [PATCH] Set API URL via pref for download-on-demand test --- test/tests/zoteroPaneTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js index 142beeeaa..727b5eb41 100644 --- a/test/tests/zoteroPaneTest.js +++ b/test/tests/zoteroPaneTest.js @@ -160,8 +160,8 @@ describe("ZoteroPane", function() { before(function () { Zotero.HTTP.mock = sinon.FakeXMLHttpRequest; + Zotero.Prefs.set("api.url", baseURL); Zotero.Sync.Runner.apiKey = apiKey; - Zotero.Sync.Runner.baseURL = baseURL; }) beforeEach(function* () { this.httpd = new HttpServer();