summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit.clj b/tests/unit.clj
index 687c91f..fad96fc 100644
--- a/tests/unit.clj
+++ b/tests/unit.clj
@@ -1536,10 +1536,12 @@
(testing "REDACT deletes and notifies (draft/message-redaction)"
(let [alice-out (java.io.ByteArrayOutputStream.)
bob-out (java.io.ByteArrayOutputStream.)
+ bob-atom (atom {:caps #{"draft/message-redaction"}})
{:keys [test-network-id] :as components}
(assoc (test-components-with-network)
:clients (atom {"alice" {:w alice-out}
- "bob" {:w bob-out}})
+ "bob" {:w bob-out
+ :client-atom bob-atom}})
:channels (atom {}))
conn (:conn components)
alice (registered-client "alice" alice-out test-network-id)]