mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
fix tests
This commit is contained in:
parent
b69031c01a
commit
fe4bc28f37
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class SetupViews(TestCase):
|
||||||
self.site.refresh_from_db()
|
self.site.refresh_from_db()
|
||||||
self.assertFalse(self.site.install_mode)
|
self.assertFalse(self.site.install_mode)
|
||||||
|
|
||||||
user = models.User.objects.get()
|
user = models.User.objects.first()
|
||||||
self.assertTrue(user.is_active)
|
self.assertTrue(user.is_active)
|
||||||
self.assertTrue(user.is_superuser)
|
self.assertTrue(user.is_superuser)
|
||||||
self.assertTrue(user.is_staff)
|
self.assertTrue(user.is_staff)
|
||||||
|
|
Loading…
Reference in a new issue