mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 08:51:06 +00:00
fix tests
This commit is contained in:
parent
636b1fe9e2
commit
7e449c60ed
1 changed files with 1 additions and 1 deletions
|
@ -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()}
|
||||
|
|
Loading…
Reference in a new issue