mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Use const instead of plain string
This commit is contained in:
parent
1b7ce13d39
commit
395bf9d35f
|
|
@ -81,7 +81,7 @@ func Test_evaluatePushRules(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "m.reaction doesn't notify",
|
name: "m.reaction doesn't notify",
|
||||||
eventContent: `{"type":"m.reaction","room_id":"!room:example.com"}`,
|
eventContent: `{"type":"m.reaction","room_id":"!room:example.com"}`,
|
||||||
wantAction: "",
|
wantAction: pushrules.UnknownAction,
|
||||||
wantActions: []*pushrules.Action{},
|
wantActions: []*pushrules.Action{},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue