From 3ebc238320a7f000da31cf4edea37236c0cabd48 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 14 Jun 2017 03:36:29 -0400 Subject: [PATCH] Close prefs window after WebDAV Verify Server tests --- test/tests/webdavTest.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/tests/webdavTest.js b/test/tests/webdavTest.js index 4c41106b4b..ef5264f1ae 100644 --- a/test/tests/webdavTest.js +++ b/test/tests/webdavTest.js @@ -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* () { @@ -643,6 +645,8 @@ describe("Zotero.Sync.Storage.Mode.WebDAV", function () { var promise2 = spy.returnValues[0]; spy.restore(); yield promise2; + + win.close(); }); });