From 217940d76f88cd86ef618a6170f09b01128dadbe Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Fri, 2 Feb 2018 10:03:25 +0000 Subject: [PATCH] Fix failing unit tests --- .../web/test/unit/coffee/History/HistoryControllerTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/unit/coffee/History/HistoryControllerTests.coffee b/services/web/test/unit/coffee/History/HistoryControllerTests.coffee index 46bfa49f8f..06f2630b6b 100644 --- a/services/web/test/unit/coffee/History/HistoryControllerTests.coffee +++ b/services/web/test/unit/coffee/History/HistoryControllerTests.coffee @@ -122,7 +122,7 @@ describe "HistoryController", -> @res = json: sinon.stub() @next = sinon.stub() - @request.yields(null, {}, @data = "mock-data") + @request.yields(null, {statusCode: 200}, @data = "mock-data") @HistoryManager.injectUserDetails = sinon.stub().yields(null, @data_with_users = "mock-injected-data") describe "for a project with the project history flag", ->