Remove references to "msc2403" (#12165)

This commit is contained in:
Andrew Morgan 2022-03-30 12:15:47 +01:00 committed by GitHub
parent c8cbd66d3b
commit 19a1d6a42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 5 deletions

View File

@ -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:

1
changelog.d/12165.misc Normal file
View File

@ -0,0 +1 @@
Remove lingering unstable references to MSC2403 (knocking).

View File

@ -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/...

View File

@ -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

View File

@ -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