Fixes unfollow

This commit is contained in:
Mouse Reeve
2021-02-17 11:45:21 -08:00
parent d022fef625
commit 08dc5b4d86
2 changed files with 12 additions and 3 deletions

View File

@ -104,7 +104,6 @@ class BookViews(TestCase):
request.user = self.local_user
self.remote_user.followers.add(self.local_user)
self.assertEqual(self.remote_user.followers.count(), 1)
# need to see if this ACTUALLY broadcasts
with patch('bookwyrm.models.activitypub_mixin.broadcast_task.delay') \
as mock:
views.unfollow(request)