From 6f212c4532fbb71f740fa996a87b6606979d7a75 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Fri, 9 Jun 2023 16:14:27 -0600 Subject: [PATCH] unknown endpoints: allow PUT /_matrix/media/v3/upload (#638) --- tests/unknown_endpoints_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unknown_endpoints_test.go b/tests/unknown_endpoints_test.go index 1460fe3e..f777ac44 100644 --- a/tests/unknown_endpoints_test.go +++ b/tests/unknown_endpoints_test.go @@ -81,6 +81,6 @@ func TestUnknownEndpoints(t *testing.T) { // v3 should exist, but not v3/unknown. queryUnknownEndpoint(t, alice, []string{"_matrix", "media", "v3", "unknown"}) - queryUnknownMethod(t, alice, "PUT", []string{"_matrix", "media", "v3", "upload"}) + queryUnknownMethod(t, alice, "PATCH", []string{"_matrix", "media", "v3", "upload"}) }) }