Skip to content

Commit 937a256

Browse files
dasha-uwujevolk
authored andcommitted
Change room_version in room creation test
1 parent c15a492 commit 937a256

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/csapi/apidoc_room_create_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ func TestRoomCreate(t *testing.T) {
160160
t.Run("POST /createRoom creates a room with the given version", func(t *testing.T) {
161161
t.Parallel()
162162
roomID := alice.MustCreateRoom(t, map[string]interface{}{
163-
"room_version": "2",
163+
"room_version": "8",
164164
"preset": "public_chat",
165165
})
166166
content := alice.MustGetStateEventContent(t, roomID, "m.room.create", "")
167-
must.MatchGJSON(t, content, match.JSONKeyEqual("room_version", "2"))
167+
must.MatchGJSON(t, content, match.JSONKeyEqual("room_version", "8"))
168168
})
169169
// sytest: POST /createRoom makes a private room with invites
170170
t.Run("POST /createRoom makes a private room with invites", func(t *testing.T) {

0 commit comments

Comments
 (0)