improve test
This commit is contained in:
parent
ef8efa7354
commit
017cea7180
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user