Skip to content

Commit 78f231c

Browse files
committed
Remove /v1/send_{join,leave} tests per MSC4376
1 parent 350d766 commit 78f231c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/federation_room_join_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -363,21 +363,11 @@ func TestBannedUserCannotSendJoin(t *testing.T) {
363363
)
364364
}
365365

366-
// This test checks that we cannot submit anything via /v1/send_join except a join.
367-
func TestCannotSendNonJoinViaSendJoinV1(t *testing.T) {
368-
testValidationForSendMembershipEndpoint(t, "/_matrix/federation/v1/send_join", "join", nil)
369-
}
370-
371366
// This test checks that we cannot submit anything via /v2/send_join except a join.
372367
func TestCannotSendNonJoinViaSendJoinV2(t *testing.T) {
373368
testValidationForSendMembershipEndpoint(t, "/_matrix/federation/v2/send_join", "join", nil)
374369
}
375370

376-
// This test checks that we cannot submit anything via /v1/send_leave except a leave.
377-
func TestCannotSendNonLeaveViaSendLeaveV1(t *testing.T) {
378-
testValidationForSendMembershipEndpoint(t, "/_matrix/federation/v1/send_leave", "leave", nil)
379-
}
380-
381371
// This test checks that we cannot submit anything via /v2/send_leave except a leave.
382372
func TestCannotSendNonLeaveViaSendLeaveV2(t *testing.T) {
383373
testValidationForSendMembershipEndpoint(t, "/_matrix/federation/v2/send_leave", "leave", nil)

0 commit comments

Comments
 (0)