aboutsummaryrefslogtreecommitdiff
path: root/setup/mscs/msc2946/msc2946_test.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2021-03-02 16:41:28 +0000
committerGitHub <noreply@github.com>2021-03-02 16:41:28 +0000
commit586cc5be5efadd39f7a4d06eef03989a12dba996 (patch)
tree4e68fd16e4bda81d1032570643adda8134e7126a /setup/mscs/msc2946/msc2946_test.go
parent6a35d9f1b1cf817a9102131d84aab611f9ed355c (diff)
Use new path for MSC2946 (#1778)
* Use new path for MSC2946 * Update GMSL
Diffstat (limited to 'setup/mscs/msc2946/msc2946_test.go')
-rw-r--r--setup/mscs/msc2946/msc2946_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/mscs/msc2946/msc2946_test.go b/setup/mscs/msc2946/msc2946_test.go
index 4f180a98..99085c0f 100644
--- a/setup/mscs/msc2946/msc2946_test.go
+++ b/setup/mscs/msc2946/msc2946_test.go
@@ -309,7 +309,7 @@ func postSpaces(t *testing.T, expectCode int, accessToken, roomID string, req *g
t.Fatalf("failed to marshal request: %s", err)
}
httpReq, err := http.NewRequest(
- "POST", "http://localhost:8010/_matrix/client/unstable/rooms/"+url.PathEscape(roomID)+"/spaces",
+ "POST", "http://localhost:8010/_matrix/client/unstable/org.matrix.msc2946/rooms/"+url.PathEscape(roomID)+"/spaces",
bytes.NewBuffer(data),
)
httpReq.Header.Set("Authorization", "Bearer "+accessToken)