forked from mirrors/bookwyrm
Fixes federation view tests
This commit is contained in:
parent
a4b892dfad
commit
fb72db7507
1 changed files with 2 additions and 0 deletions
|
@ -56,7 +56,9 @@ class FederationViews(TestCase):
|
|||
request.user.is_superuser = True
|
||||
|
||||
view(request, server.id)
|
||||
server.refresh_from_db()
|
||||
self.assertEqual(server.status, "blocked")
|
||||
|
||||
view(request, server.id)
|
||||
server.refresh_from_db()
|
||||
self.assertEqual(server.status, "federated")
|
||||
|
|
Loading…
Reference in a new issue