update snapshots

This commit is contained in:
safouene1 2023-04-04 01:19:59 +01:00
parent ef0b309d0d
commit 4b3f5b192d

View File

@ -150,7 +150,7 @@ exports[`components/post_view/CombinedSystemMessage should match snapshot, "remo
exports[`components/post_view/CombinedSystemMessage should match snapshot, combining users removed from channel by all actors 1`] = ` exports[`components/post_view/CombinedSystemMessage should match snapshot, combining users removed from channel by all actors 1`] = `
<Fragment> <Fragment>
<Connect(Markdown) <Connect(Markdown)
message="@removed_username_1 and @removed_username_2 were **removed from the channel**." message="@removed_username_1 was **removed from the channel**."
options={ options={
Object { Object {
"atMentions": true, "atMentions": true,
@ -160,7 +160,7 @@ exports[`components/post_view/CombinedSystemMessage should match snapshot, combi
"key": "@removed_username_1", "key": "@removed_username_1",
}, },
Object { Object {
"key": "@removed_username_2", "key": undefined,
}, },
Object { Object {
"key": "you", "key": "you",
@ -171,6 +171,28 @@ exports[`components/post_view/CombinedSystemMessage should match snapshot, combi
} }
/> />
<br /> <br />
<Connect(Markdown)
message="@removed_username_2 was **removed from the channel**."
options={
Object {
"atMentions": true,
"mentionHighlight": false,
"mentionKeys": Array [
Object {
"key": "@removed_username_2",
},
Object {
"key": undefined,
},
Object {
"key": "Someone",
},
],
"singleline": true,
}
}
/>
<br />
</Fragment> </Fragment>
`; `;
@ -198,24 +220,18 @@ exports[`components/post_view/CombinedSystemMessage should match snapshot, when
} }
/> />
<br /> <br />
<injectIntl(LastUsers) <Connect(Markdown)
actor="you" message="@removed_username_1 and @removed_username_2 were **removed from the channel**."
expandedLocale={ options={
Object {
"defaultMessage": "{users} and {lastUser} were **removed from the channel**.",
"id": "combined_system_message.removed_from_channel.many_expanded",
}
}
formatOptions={
Object { Object {
"atMentions": true, "atMentions": true,
"mentionHighlight": false, "mentionHighlight": false,
"mentionKeys": Array [ "mentionKeys": Array [
Object { Object {
"key": "You", "key": "@removed_username_1",
}, },
Object { Object {
"key": "@removed_username_1", "key": "@removed_username_2",
}, },
Object { Object {
"key": "you", "key": "you",
@ -224,13 +240,27 @@ exports[`components/post_view/CombinedSystemMessage should match snapshot, when
"singleline": true, "singleline": true,
} }
} }
postType="system_remove_from_channel" />
usernames={ <br />
Array [ <Connect(Markdown)
"You", message="You and @removed_username_2 were **removed from the channel**."
"@removed_username_1", options={
"@removed_username_2", Object {
] "atMentions": true,
"mentionHighlight": false,
"mentionKeys": Array [
Object {
"key": "You",
},
Object {
"key": "@removed_username_2",
},
Object {
"key": "Someone",
},
],
"singleline": true,
}
} }
/> />
<br /> <br />