From ad2e34cb8a4a76eeab90dbd9f1f0356f7c1d96af Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Tue, 19 Nov 2024 10:34:54 +0000 Subject: [PATCH] Skip TestContent on Synapse This will be expected to fail when Synapse enforces authenticated media by default in https://github.com/element-hq/synapse/pull/17889 --- tests/csapi/apidoc_content_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/csapi/apidoc_content_test.go b/tests/csapi/apidoc_content_test.go index be8724c1..e08b947f 100644 --- a/tests/csapi/apidoc_content_test.go +++ b/tests/csapi/apidoc_content_test.go @@ -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) + deployment := complement.Deploy(t, 1) defer deployment.Destroy(t)