mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-03 13:54:49 +00:00
Fix failing unit tests
This commit is contained in:
parent
e886217b85
commit
217940d76f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ describe "HistoryController", ->
|
||||||
@res =
|
@res =
|
||||||
json: sinon.stub()
|
json: sinon.stub()
|
||||||
@next = 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")
|
@HistoryManager.injectUserDetails = sinon.stub().yields(null, @data_with_users = "mock-injected-data")
|
||||||
|
|
||||||
describe "for a project with the project history flag", ->
|
describe "for a project with the project history flag", ->
|
||||||
|
|
Loading…
Reference in a new issue