From 7e449c60edf0bbe202caefb531b0a724db5e3c34 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 22 Sep 2016 16:04:42 +0100 Subject: [PATCH] fix tests --- .../coffee/Authentication/AuthenticationControllerTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/UnitTests/coffee/Authentication/AuthenticationControllerTests.coffee b/services/web/test/UnitTests/coffee/Authentication/AuthenticationControllerTests.coffee index 65591dfbb3..4a94fc626a 100644 --- a/services/web/test/UnitTests/coffee/Authentication/AuthenticationControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/Authentication/AuthenticationControllerTests.coffee @@ -50,7 +50,7 @@ describe "AuthenticationController", -> @info = null @req.login = sinon.stub().callsArgWith(1, null) @res.json = sinon.stub() - @req.session = @session = {test: 'test'} + @req.session = @session = {passport: {user: @user}} @req.session.destroy = sinon.stub() @req.session.save = sinon.stub().callsArgWith(0, null) @req.sessionStore = {generate: sinon.stub()}