summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-05-20 12:32:26 +0100
committerErik Johnston <erik@matrix.org>2019-05-20 12:32:26 +0100
commit2ac9c965ddfb049251d0406f93c1104b227009e3 (patch)
tree3c91ac49a50c035a9e786376a7cf798953a544a3 /tests/rest
parentCorrectly update aggregation counts after redaction (diff)
downloadsynapse-2ac9c965ddfb049251d0406f93c1104b227009e3.tar.xz
Fixup comments
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/v2_alpha/test_relations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/v2_alpha/test_relations.py b/tests/rest/client/v2_alpha/test_relations.py
index 3737cdc396..b3dc4bd5bc 100644
--- a/tests/rest/client/v2_alpha/test_relations.py
+++ b/tests/rest/client/v2_alpha/test_relations.py
@@ -321,7 +321,7 @@ class RelationsTestCase(unittest.HomeserverTestCase):
         )
 
     def test_aggregation_redactions(self):
-        """Test that annotations get correctly aggregated after a redactions.
+        """Test that annotations get correctly aggregated after a redaction.
         """
 
         channel = self._send_relation(RelationTypes.ANNOTATION, "m.reaction", "a")
@@ -333,7 +333,7 @@ class RelationsTestCase(unittest.HomeserverTestCase):
         )
         self.assertEquals(200, channel.code, channel.json_body)
 
-        # Now lets redact the 'a' reaction
+        # Now lets redact one of the 'a' reactions
         request, channel = self.make_request(
             "POST",
             "/_matrix/client/r0/rooms/%s/redact/%s" % (self.room, to_redact_event_id),