diff --git a/services/web/test/unit/coffee/Uploads/ArchiveManagerTests.coffee b/services/web/test/unit/coffee/Uploads/ArchiveManagerTests.coffee index 61efbccce7..5cabf944b0 100644 --- a/services/web/test/unit/coffee/Uploads/ArchiveManagerTests.coffee +++ b/services/web/test/unit/coffee/Uploads/ArchiveManagerTests.coffee @@ -26,12 +26,12 @@ describe "ArchiveManager", -> "metrics-sharelatex": @metrics "fs": @fs = {} "fs-extra": @fse = {} + @callback = sinon.stub() describe "extractZipArchive", -> beforeEach -> @source = "/path/to/zip/source.zip" @destination = "/path/to/zip/destination" - @callback = sinon.stub() @ArchiveManager._isZipTooLarge = sinon.stub().callsArgWith(1, null, false) describe "successfully", ->