mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Fixes redirect
This commit is contained in:
parent
cf275d0c59
commit
b57aa4c9d3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue