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

This commit is contained in:
Dan Stillman 2016-12-21 08:23:31 -05:00
parent 36b6722c5c
commit a9a54ed21c

View file

@ -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();