Set API URL via pref for download-on-demand test
This commit is contained in:
parent
36b6722c5c
commit
a9a54ed21c
|
@ -160,8 +160,8 @@ describe("ZoteroPane", function() {
|
||||||
before(function () {
|
before(function () {
|
||||||
Zotero.HTTP.mock = sinon.FakeXMLHttpRequest;
|
Zotero.HTTP.mock = sinon.FakeXMLHttpRequest;
|
||||||
|
|
||||||
|
Zotero.Prefs.set("api.url", baseURL);
|
||||||
Zotero.Sync.Runner.apiKey = apiKey;
|
Zotero.Sync.Runner.apiKey = apiKey;
|
||||||
Zotero.Sync.Runner.baseURL = baseURL;
|
|
||||||
})
|
})
|
||||||
beforeEach(function* () {
|
beforeEach(function* () {
|
||||||
this.httpd = new HttpServer();
|
this.httpd = new HttpServer();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user