Merge pull request #10677 from overleaf/em-history-id-string
Represent history ids as strings instead of integers GitOrigin-RevId: 18977195b65492836e570c571ec7e8c7e088612b
This commit is contained in:
@@ -74,7 +74,7 @@ describe('HistoryManager', function () {
|
||||
})
|
||||
|
||||
it('should return the overleaf id', function () {
|
||||
expect(this.result).to.deep.equal({ overleaf_id: this.overleaf_id })
|
||||
expect(this.result).to.deep.equal(this.overleaf_id)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ describe('ProjectHistoryHandler', function () {
|
||||
this.newHistoryId = 123456789
|
||||
this.HistoryManager.initializeProject = sinon
|
||||
.stub()
|
||||
.callsArgWith(0, null, { overleaf_id: this.newHistoryId })
|
||||
.callsArgWith(0, null, this.newHistoryId)
|
||||
this.HistoryManager.flushProject = sinon.stub().callsArg(1)
|
||||
return (this.ProjectEntityUpdateHandler.resyncProjectHistory = sinon
|
||||
.stub()
|
||||
|
||||
Reference in New Issue
Block a user