fix test
This commit is contained in:
parent
f95123fc43
commit
bf3b80825a
@ -286,7 +286,8 @@ func TestSyncHandler_HandleFullSyncRequest(t *testing.T) {
|
|||||||
SnapshotPath: []string{"h1"},
|
SnapshotPath: []string{"h1"},
|
||||||
}
|
}
|
||||||
treeMsg := treechangeproto.WrapFullRequest(fullSyncRequest, chWithId)
|
treeMsg := treechangeproto.WrapFullRequest(fullSyncRequest, chWithId)
|
||||||
objectMsg, _ := marshallTreeMessage(treeMsg, "spaceId", treeId, replyId)
|
objectMsg, _ := marshallTreeMessage(treeMsg, "spaceId", treeId, "")
|
||||||
|
objectMsg.RequestId = replyId
|
||||||
fullResponse := &treechangeproto.TreeSyncMessage{}
|
fullResponse := &treechangeproto.TreeSyncMessage{}
|
||||||
|
|
||||||
fx.objectTreeMock.EXPECT().
|
fx.objectTreeMock.EXPECT().
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user