Adding team_name to post props for channel mentions (#14150)
* Adding team_name to post props for channel mentions * Fixing tests Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ab338e8417
Коммит
07c1e76b02
@@ -432,6 +432,7 @@ func TestPostChannelMentions(t *testing.T) {
|
||||
assert.Equal(t, map[string]interface{}{
|
||||
"mention-test": map[string]interface{}{
|
||||
"display_name": "Mention Test",
|
||||
"team_name": th.BasicTeam.Name,
|
||||
},
|
||||
}, result.GetProp("channel_mentions"))
|
||||
|
||||
@@ -441,6 +442,7 @@ func TestPostChannelMentions(t *testing.T) {
|
||||
assert.Equal(t, map[string]interface{}{
|
||||
"mention-test": map[string]interface{}{
|
||||
"display_name": "Mention Test",
|
||||
"team_name": th.BasicTeam.Name,
|
||||
},
|
||||
}, result.GetProp("channel_mentions"))
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user