summaryrefslogtreecommitdiff
path: root/src/mailman/runners/tests/test_join.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/runners/tests/test_join.py')
-rw-r--r--src/mailman/runners/tests/test_join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/runners/tests/test_join.py b/src/mailman/runners/tests/test_join.py
index 4006675e4..f968433ba 100644
--- a/src/mailman/runners/tests/test_join.py
+++ b/src/mailman/runners/tests/test_join.py
@@ -160,7 +160,7 @@ class TestJoinWithDigests(unittest.TestCase):
subject_words = str(messages[1].msg['subject']).split()
self.assertEqual(subject_words[0], 'confirm')
token = subject_words[1]
- status = getUtility(IRegistrar).confirm(token)
+ status = IRegistrar(self._mlist).confirm(token)
self.assertTrue(status, 'Confirmation failed')
# Now, make sure that Anne is a member of the list and is receiving
# digest deliveries.