From 29cea1743b535651442942151082f2e99a5b0335 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Tue, 13 Jul 2021 13:12:34 +0100 Subject: [PATCH] [misc] DeletingADocumentTests: fix behavior checks The preloading setup does an initial getDocument request to web-api. --- .../test/acceptance/js/DeletingADocumentTests.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/document-updater/test/acceptance/js/DeletingADocumentTests.js b/services/document-updater/test/acceptance/js/DeletingADocumentTests.js index 84c7300383..9fa53d8052 100644 --- a/services/document-updater/test/acceptance/js/DeletingADocumentTests.js +++ b/services/document-updater/test/acceptance/js/DeletingADocumentTests.js @@ -103,6 +103,7 @@ describe('Deleting a document', function () { }) it('should need to reload the doc if read again', function (done) { + MockWebApi.getDocument.resetHistory() MockWebApi.getDocument.called.should.equals(false) return DocUpdaterClient.getDoc( this.project_id,