From 08f4490d4d770878f805d26bfe1d0ef9cb3f7393 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 10 Jun 2020 08:31:03 +0200 Subject: TestSuite::sendRedaction: fix a stale TODO Add another TODO instead :-| --- tests/quotest.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/quotest.cpp b/tests/quotest.cpp index fefd0182..79720812 100644 --- a/tests/quotest.cpp +++ b/tests/quotest.cpp @@ -357,10 +357,7 @@ TEST_IMPL(sendReaction) FAIL_TEST(); } - // TODO: Check that it came back as a reaction event and that it attached to - // the right event - connectUntil( - targetRoom, &Room::updatedEvent, this, + connectUntil(targetRoom, &Room::updatedEvent, this, [this, thisTest, txnId, key, targetEvtId](const QString& actualTargetEvtId) { if (actualTargetEvtId != targetEvtId) return false; @@ -376,6 +373,7 @@ TEST_IMPL(sendReaction) FINISH_TEST(is(*evt) && !evt->id().isEmpty() && evt->relation().key == key && evt->transactionId() == txnId); + // TODO: Test removing the reaction }); return false; } -- cgit v1.2.3