Fix things, unfix things, refix things, break things, fix things

This commit is contained in:
Mouse Reeve
2021-02-17 12:23:55 -08:00
parent 08dc5b4d86
commit 7b21a0a208
4 changed files with 12 additions and 9 deletions

View File

@ -135,6 +135,8 @@ class BookViews(TestCase):
def test_handle_reject(self):
''' reject a follow request '''
self.local_user.manually_approves_followers = True
self.local_user.save(broadcast=False)
request = self.factory.post('', {'user': self.remote_user.username})
request.user = self.local_user
rel = models.UserFollowRequest.objects.create(