diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-10 08:31:03 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-10 15:06:47 +0200 |
commit | 08f4490d4d770878f805d26bfe1d0ef9cb3f7393 (patch) | |
tree | 5bdefd57fc21d1761e4088e980882a2985317608 /tests | |
parent | 3f58a12da394244137ba85249dd13d09cb07e927 (diff) | |
download | libquotient-08f4490d4d770878f805d26bfe1d0ef9cb3f7393.tar.gz libquotient-08f4490d4d770878f805d26bfe1d0ef9cb3f7393.zip |
TestSuite::sendRedaction: fix a stale TODO
Add another TODO instead :-|
Diffstat (limited to 'tests')
-rw-r--r-- | tests/quotest.cpp | 6 |
1 files 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<ReactionEvent>(*evt) && !evt->id().isEmpty() && evt->relation().key == key && evt->transactionId() == txnId); + // TODO: Test removing the reaction }); return false; } |