Skip to content

Commit

Permalink
Close prefs window after WebDAV Verify Server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Jun 14, 2017
1 parent ccb3035 commit 3ebc238
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/tests/webdavTest.js
Expand Up @@ -610,6 +610,8 @@ describe("Zotero.Sync.Storage.Mode.WebDAV", function () {
var promise2 = spy.returnValues[0];
spy.restore();
yield promise2;

win.close();
});

it("should show an error for a 403", function* () {
Expand Down Expand Up @@ -643,6 +645,8 @@ describe("Zotero.Sync.Storage.Mode.WebDAV", function () {
var promise2 = spy.returnValues[0];
spy.restore();
yield promise2;

win.close();
});
});

Expand Down

0 comments on commit 3ebc238

Please sign in to comment.