Remove references to "msc2403" (#12165)
This commit is contained in:
parent
c8cbd66d3b
commit
19a1d6a42a
|
@ -377,7 +377,7 @@ jobs:
|
||||||
# Run Complement
|
# Run Complement
|
||||||
- run: |
|
- run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
go test -v -json -tags synapse_blacklist,msc2403,msc2716,msc3030 ./tests/... 2>&1 | gotestfmt
|
go test -v -json -tags synapse_blacklist,msc2716,msc3030 ./tests/... 2>&1 | gotestfmt
|
||||||
shell: bash
|
shell: bash
|
||||||
name: Run Complement Tests
|
name: Run Complement Tests
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Remove lingering unstable references to MSC2403 (knocking).
|
|
@ -71,4 +71,4 @@ fi
|
||||||
|
|
||||||
# Run the tests!
|
# Run the tests!
|
||||||
echo "Images built; running complement"
|
echo "Images built; running complement"
|
||||||
go test -v -tags synapse_blacklist,msc2403,msc2716,msc3030 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...
|
go test -v -tags synapse_blacklist,msc2716,msc3030 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...
|
||||||
|
|
|
@ -23,7 +23,7 @@ from synapse.server import HomeServer
|
||||||
from synapse.types import RoomAlias
|
from synapse.types import RoomAlias
|
||||||
|
|
||||||
from tests.test_utils import event_injection
|
from tests.test_utils import event_injection
|
||||||
from tests.unittest import FederatingHomeserverTestCase, TestCase, override_config
|
from tests.unittest import FederatingHomeserverTestCase, TestCase
|
||||||
|
|
||||||
|
|
||||||
class KnockingStrippedStateEventHelperMixin(TestCase):
|
class KnockingStrippedStateEventHelperMixin(TestCase):
|
||||||
|
@ -221,7 +221,6 @@ class FederationKnockingTestCase(
|
||||||
|
|
||||||
return super().prepare(reactor, clock, homeserver)
|
return super().prepare(reactor, clock, homeserver)
|
||||||
|
|
||||||
@override_config({"experimental_features": {"msc2403_enabled": True}})
|
|
||||||
def test_room_state_returned_when_knocking(self):
|
def test_room_state_returned_when_knocking(self):
|
||||||
"""
|
"""
|
||||||
Tests that specific, stripped state events from a room are returned after
|
Tests that specific, stripped state events from a room are returned after
|
||||||
|
|
|
@ -341,7 +341,6 @@ class SyncKnockTestCase(
|
||||||
hs, self.room_id, self.user_id
|
hs, self.room_id, self.user_id
|
||||||
)
|
)
|
||||||
|
|
||||||
@override_config({"experimental_features": {"msc2403_enabled": True}})
|
|
||||||
def test_knock_room_state(self) -> None:
|
def test_knock_room_state(self) -> None:
|
||||||
"""Tests that /sync returns state from a room after knocking on it."""
|
"""Tests that /sync returns state from a room after knocking on it."""
|
||||||
# Knock on a room
|
# Knock on a room
|
||||||
|
|
Loading…
Reference in New Issue