Skip to content

Commit ad2e34c

Browse files
committed
Skip TestContent on Synapse
This will be expected to fail when Synapse enforces authenticated media by default in element-hq/synapse#17889
1 parent 547e656 commit ad2e34c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/csapi/apidoc_content_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ import (
88
"github.com/matrix-org/complement"
99
"github.com/matrix-org/complement/helpers"
1010
"github.com/matrix-org/complement/internal/data"
11+
"github.com/matrix-org/complement/runtime"
1112
)
1213

1314
func TestContent(t *testing.T) {
15+
// Synapse no longer allows downloads over the unauthenticated media endpoints by default
16+
runtime.SkipIf(runtime.Synapse)
17+
1418
deployment := complement.Deploy(t, 1)
1519
defer deployment.Destroy(t)
1620

0 commit comments

Comments
 (0)