Skip to content

Commit

Permalink
Set API URL via pref for download-on-demand test
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 21, 2016
1 parent 36b6722 commit a9a54ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/zoteroPaneTest.js
Expand Up @@ -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();
Expand Down

0 comments on commit a9a54ed

Please sign in to comment.