Skip to content

Commit

Permalink
Skip TestContent on Synapse
Browse files Browse the repository at this point in the history
This will be expected to fail when Synapse enforces
authenticated media by default in
element-hq/synapse#17889
  • Loading branch information
reivilibre committed Nov 19, 2024
1 parent 547e656 commit ad2e34c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/csapi/apidoc_content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ import (
"github.com/matrix-org/complement"
"github.com/matrix-org/complement/helpers"
"github.com/matrix-org/complement/internal/data"
"github.com/matrix-org/complement/runtime"
)

func TestContent(t *testing.T) {
// Synapse no longer allows downloads over the unauthenticated media endpoints by default
runtime.SkipIf(runtime.Synapse)

Check failure on line 16 in tests/csapi/apidoc_content_test.go

View workflow job for this annotation

GitHub Actions / Complement (Synapse)

cannot use runtime.Synapse (constant "synapse" of type string) as ct.TestLike value in argument to runtime.SkipIf: string does not implement ct.TestLike (missing method Error)

Check failure on line 16 in tests/csapi/apidoc_content_test.go

View workflow job for this annotation

GitHub Actions / Complement (Dendrite)

cannot use runtime.Synapse (constant "synapse" of type string) as ct.TestLike value in argument to runtime.SkipIf: string does not implement ct.TestLike (missing method Error)

deployment := complement.Deploy(t, 1)
defer deployment.Destroy(t)

Expand Down

0 comments on commit ad2e34c

Please sign in to comment.