Skip to content

Commit

Permalink
unknown endpoints: allow PUT /_matrix/media/v3/upload (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumnerevans committed Jun 9, 2023
1 parent 68c7643 commit 6f212c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unknown_endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
})
}

0 comments on commit 6f212c4

Please sign in to comment.