Skip to content

Commit 3594bd9

Browse files
committed
fix runtime
1 parent 6f303d2 commit 3594bd9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/federation_redaction_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@ package tests
22

33
import (
44
"github.com/matrix-org/complement/internal/b"
5-
"github.com/matrix-org/complement/internal/docker"
65
"github.com/matrix-org/complement/internal/federation"
6+
"github.com/matrix-org/complement/runtime"
77
"github.com/matrix-org/gomatrixserverlib"
88
"testing"
99
"time"
10-
"github.com/matrix-org/complement/runtime"
1110
)
1211

1312
// test that a redaction is sent out over federation even if we don't have the original event
1413
func TestFederationRedactSendsWithoutEvent(t *testing.T) {
15-
runtime.SkipIf(t, runtime.Dendrite)
14+
runtime.SkipIf(t, runtime.Dendrite)
1615

1716
deployment := Deploy(t, b.BlueprintAlice)
1817
defer deployment.Destroy(t)
@@ -54,7 +53,7 @@ func TestFederationRedactSendsWithoutEvent(t *testing.T) {
5453
roomAlias := srv.MakeAliasMapping("flibble", serverRoom.RoomID)
5554

5655
// the local homeserver joins the room
57-
alice.JoinRoom(t, roomAlias, []string{docker.HostnameRunningComplement})
56+
alice.JoinRoom(t, roomAlias, []string{srv.ServerName()})
5857

5958
// inject event to redact in the room
6059
badEvent := srv.MustCreateEvent(t, serverRoom, b.Event{

0 commit comments

Comments
 (0)