1
0
mirror of synced 2024-11-25 14:36:03 +03:00

improve test

This commit is contained in:
DmitryZagorulko 2019-01-31 17:14:03 +03:00
parent ef8efa7354
commit 017cea7180

View File

@ -187,6 +187,7 @@ func TestMgClient_TextMessages(t *testing.T) {
Type: MsgTypeText, Type: MsgTypeText,
Text: "hello!", Text: "hello!",
}, },
Originator: "user",
User: User{ User: User{
ExternalID: "6", ExternalID: "6",
Nickname: "octopus", Nickname: "octopus",
@ -227,6 +228,7 @@ func TestMgClient_ImageMessages(t *testing.T) {
Type: MsgTypeImage, Type: MsgTypeImage,
Items: []Item{{ID: uploadFileResponse.ID}}, Items: []Item{{ID: uploadFileResponse.ID}},
}, },
Originator: "user",
User: User{ User: User{
ExternalID: "6", ExternalID: "6",
Nickname: "octopus", Nickname: "octopus",