We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9c490 commit 1f90952Copy full SHA for 1f90952
tests/msc4140/delayed_event_test.go
@@ -45,6 +45,13 @@ func TestDelayedEvents(t *testing.T) {
45
matchDelayedEvents(t, user, 0)
46
})
47
48
+ t.Run("delayed event lookups are authenticated", func(t *testing.T) {
49
+ res := unauthedClient.Do(t, "GET", getPathForUpdateDelayedEvents())
50
+ must.MatchResponse(t, res, match.HTTPResponse{
51
+ StatusCode: 401,
52
+ })
53
54
+
55
t.Run("delayed message events are sent on timeout", func(t *testing.T) {
56
var res *http.Response
57
var countExpected uint64
0 commit comments