Skip to content

Commit 9547994

Browse files
committed
Use correct assertion now that we differentiate leave/ban
1 parent ab61fd3 commit 9547994

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/federation_room_ban_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestUnbanViaInvite(t *testing.T) {
3030
bob.MustDo(t, "POST", []string{"_matrix", "client", "v3", "rooms", roomID, "ban"}, client.WithJSONBody(t, map[string]interface{}{
3131
"user_id": alice.UserID,
3232
}))
33-
alice.MustSyncUntil(t, client.SyncReq{}, client.SyncLeftFrom(alice.UserID, roomID))
33+
alice.MustSyncUntil(t, client.SyncReq{}, client.SyncBannedFrom(alice.UserID, roomID))
3434

3535
// Unban Alice
3636
bob.MustDo(t, "POST", []string{"_matrix", "client", "v3", "rooms", roomID, "unban"}, client.WithJSONBody(t, map[string]interface{}{

0 commit comments

Comments
 (0)