Updates activistreams add_status mock

This commit is contained in:
Mouse Reeve
2021-09-06 13:53:49 -07:00
parent d7557926f7
commit a6b0ba1826
25 changed files with 61 additions and 62 deletions

View File

@ -37,7 +37,7 @@ class Activitystreams(TestCase):
def test_populate_streams(self, _):
"""make sure the function on the redis manager gets called"""
with patch("bookwyrm.activitystreams.ActivityStream.add_status"):
with patch("bookwyrm.activitystreams.add_status_task.delay"):
models.Comment.objects.create(
user=self.local_user, content="hi", book=self.book
)