www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a9a54ed21cdb22d72ffb5b4470bbc6af01fb3497
parent 36b6722c5ca4274e21c7679aad83be3d660a471b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 21 Dec 2016 08:23:31 -0500

Set API URL via pref for download-on-demand test

Diffstat:
Mtest/tests/zoteroPaneTest.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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();