[MM-29217] Remove Posts.ParentId (#17923)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
757dc96461
Коммит
d181ae9262
@@ -346,7 +346,6 @@ func TestPostReplyToPostWhereRootPosterLeftChannel(t *testing.T) {
|
||||
Message: "asd",
|
||||
ChannelId: channel.Id,
|
||||
RootId: rootPost.Id,
|
||||
ParentId: rootPost.Id,
|
||||
PendingPostId: model.NewId() + ":" + fmt.Sprint(model.GetMillis()),
|
||||
UserId: userInChannel.Id,
|
||||
CreateAt: 0,
|
||||
@@ -368,7 +367,6 @@ func TestPostAttachPostToChildPost(t *testing.T) {
|
||||
Message: "reply one",
|
||||
ChannelId: channel.Id,
|
||||
RootId: rootPost.Id,
|
||||
ParentId: rootPost.Id,
|
||||
PendingPostId: model.NewId() + ":" + fmt.Sprint(model.GetMillis()),
|
||||
UserId: user.Id,
|
||||
CreateAt: 0,
|
||||
@@ -381,7 +379,6 @@ func TestPostAttachPostToChildPost(t *testing.T) {
|
||||
Message: "reply two",
|
||||
ChannelId: channel.Id,
|
||||
RootId: res1.Id,
|
||||
ParentId: res1.Id,
|
||||
PendingPostId: model.NewId() + ":" + fmt.Sprint(model.GetMillis()),
|
||||
UserId: user.Id,
|
||||
CreateAt: 0,
|
||||
@@ -394,7 +391,6 @@ func TestPostAttachPostToChildPost(t *testing.T) {
|
||||
Message: "reply three",
|
||||
ChannelId: channel.Id,
|
||||
RootId: rootPost.Id,
|
||||
ParentId: rootPost.Id,
|
||||
PendingPostId: model.NewId() + ":" + fmt.Sprint(model.GetMillis()),
|
||||
UserId: user.Id,
|
||||
CreateAt: 0,
|
||||
@@ -2313,7 +2309,6 @@ func TestReplyToPostWithLag(t *testing.T) {
|
||||
UserId: th.BasicUser2.Id,
|
||||
ChannelId: th.BasicChannel.Id,
|
||||
RootId: root.Id,
|
||||
ParentId: root.Id,
|
||||
Message: fmt.Sprintf("@%s", th.BasicUser2.Username),
|
||||
}, th.BasicChannel, false, true)
|
||||
require.Nil(t, appErr)
|
||||
|
||||
Ссылка в новой задаче
Block a user