Use flags for create post (#28857)
* Use flags for create post * Remove unintended file * Fix unintended change and types --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
43a06d1b78
Коммит
2d96053012
@@ -113,7 +113,7 @@ func TestSharedChannelSyncForReactionActions(t *testing.T) {
|
||||
UserId: user.Id,
|
||||
ChannelId: channel.Id,
|
||||
Message: "Hello folks",
|
||||
}, channel, false, true)
|
||||
}, channel, model.CreatePostFlags{SetOnline: true})
|
||||
require.Nil(t, err, "Creating a post should not error")
|
||||
|
||||
reaction := &model.Reaction{
|
||||
@@ -148,7 +148,7 @@ func TestSharedChannelSyncForReactionActions(t *testing.T) {
|
||||
UserId: user.Id,
|
||||
ChannelId: channel.Id,
|
||||
Message: "Hello folks",
|
||||
}, channel, false, true)
|
||||
}, channel, model.CreatePostFlags{SetOnline: true})
|
||||
require.Nil(t, err, "Creating a post should not error")
|
||||
|
||||
reaction := &model.Reaction{
|
||||
|
||||
Ссылка в новой задаче
Block a user