@@ -2,17 +2,16 @@ package tests
22
33import (
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
1413func 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