aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi_test.go
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2023-10-24 11:51:08 +0200
committerGitHub <noreply@github.com>2023-10-24 11:51:08 +0200
commit1b124fe9cba8b4699a1f65382e4ea1a5674d12fa (patch)
tree3664bfc6b505cc5f8394b760e8d0d06ccfcf0250 /clientapi/clientapi_test.go
parentc1d6b9aa8ef29a76b61b1aaf60572d3493adf306 (diff)
Implement MSC3987, fix setting Element Android notifications (#3242)
Should fix https://github.com/matrix-org/dendrite/issues/3183, since Element Android already implements [MSC3987](https://github.com/vector-im/element-android/pull/8530) This is also part of https://github.com/matrix-org/dendrite/issues/3225
Diffstat (limited to 'clientapi/clientapi_test.go')
-rw-r--r--clientapi/clientapi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/clientapi_test.go b/clientapi/clientapi_test.go
index 82ec9fea..f2d617cb 100644
--- a/clientapi/clientapi_test.go
+++ b/clientapi/clientapi_test.go
@@ -1418,7 +1418,7 @@ func TestPushRules(t *testing.T) {
validateFunc: func(t *testing.T, respBody *bytes.Buffer) {
actions := gjson.GetBytes(respBody.Bytes(), "actions").Array()
// only a basic check
- assert.Equal(t, 1, len(actions))
+ assert.Equal(t, 0, len(actions))
},
},
{