mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-31 18:53:10 -06:00
Update test
This commit is contained in:
parent
ca932c23ce
commit
92e93191e2
|
|
@ -36,6 +36,12 @@ func Test_sendServerNoticeRequest_validate(t *testing.T) {
|
||||||
name: "msgtype empty",
|
name: "msgtype empty",
|
||||||
fields: fields{
|
fields: fields{
|
||||||
UserID: "@alice:localhost",
|
UserID: "@alice:localhost",
|
||||||
|
Content: struct {
|
||||||
|
MsgType string `json:"msgtype,omitempty"`
|
||||||
|
Body string `json:"body,omitempty"`
|
||||||
|
}{
|
||||||
|
Body: "Hello world!",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue