[document-updater] fix typo in test stub (#35950)

tid does not exist anywhere else in document-updater at
sha 3d76f4b9bf when
the typo was added. The comment id was read from .t only.
Doc-snapshots are copied the ranges literally without any
normalizing of nested structures.

GitOrigin-RevId: f76fbc930fdf02d9367603b5b1d6414de8d9f559
This commit is contained in:
Jakob Ackermann
2026-09-17 11:40:01 +00:00
committed by Copybot
parent 8a37955106
commit e8070def26
@@ -763,7 +763,7 @@ describe('Ranges', function () {
op: {
c: 'a',
p: 5,
tid: (this.tid = DocUpdaterClient.randomId()),
t: (this.tid = DocUpdaterClient.randomId()),
},
metadata: {
user_id: this.user_id,
@@ -809,7 +809,7 @@ describe('Ranges', function () {
expect(docSnapshots[0].ranges.comments[0].op).to.deep.equal({
c: 'a',
p: 1,
tid: this.tid,
t: new ObjectId(this.tid),
})
})
})