Fixes redirect

This commit is contained in:
Mouse Reeve 2021-12-09 18:42:09 -08:00
parent cf275d0c59
commit b57aa4c9d3

View file

@ -176,7 +176,7 @@ class UserViews(TestCase):
request.user = self.local_user
result = views.hide_suggestions(request)
validate_html(result.render())
self.assertEqual(result.status_code, 302)
self.local_user.refresh_from_db()
self.assertFalse(self.local_user.show_suggested_users)