Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt MSC2716 implementation to org.matrix.msc2716 experimental room version #176

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 27 additions & 18 deletions tests/msc2716_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -189,8 +190,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -239,8 +241,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -289,8 +292,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})

batchSendHistoricalMessages(
Expand All @@ -314,8 +318,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -348,8 +353,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -406,8 +412,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -482,8 +489,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down Expand Up @@ -589,8 +597,9 @@ func TestBackfillingHistory(t *testing.T) {
t.Parallel()

roomID := as.CreateRoom(t, map[string]interface{}{
"preset": "public_chat",
"name": "the hangout spot",
"room_version": "org.matrix.msc2716",
"preset": "public_chat",
"name": "the hangout spot",
})
alice.JoinRoom(t, roomID, nil)

Expand Down