mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-04 23:27:13 +00:00
fix test failure from merge
This commit is contained in:
parent
7b90fcb186
commit
a23f0a3d15
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ describe "TokenAccessController", ->
|
|||
@res.redirect = sinon.stub()
|
||||
@next = sinon.stub()
|
||||
@TokenAccessHandler.findProjectWithReadOnlyToken = sinon.stub()
|
||||
.callsArgWith(1, null, @project)
|
||||
.callsArgWith(1, null, @project, true)
|
||||
@TokenAccessHandler.checkV1Access = sinon.stub().callsArgWith(1, null, false, 'doc-url')
|
||||
@TokenAccessController.readOnlyToken @req, @res, @next
|
||||
|
||||
|
|
Loading…
Reference in a new issue