mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #972 from sharelatex/ew-fix-test
fix test failure from merge
This commit is contained in:
commit
ecf5df0b6d
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