commit 50b46bdb197904bd6756886770d1775b329b862e
parent 703cfd1fc534a2d7ee715917a9ccfae85263f657
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 8 Jan 2016 03:19:25 -0500
Don't bother doing a full DB reset after sync tests
Tests should make no assumptions about the presence of bundled files and
should do a full resetDB() if they need them. But most tests don't need
them, and they're very slow to install. We can reconsider this if we
drastically speed up DB resetting in tests (e.g., by caching a pristine
data directory).
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/test/tests/syncRunnerTest.js b/test/tests/syncRunnerTest.js
@@ -417,11 +417,6 @@ describe("Zotero.Sync.Runner", function () {
yield Zotero.Libraries.init();
})
- after(function* () {
- yield resetDB({
- thisArg: this
- });
- })
it("should perform a sync across all libraries and update library versions", function* () {
yield Zotero.Users.setCurrentUserID(1);