Set API URL via pref for download-on-demand test
This commit is contained in:
parent
36b6722c5c
commit
a9a54ed21c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue