Skip to content
Snippets Groups Projects
Commit 28e433e2 authored by Daniel Schultz's avatar Daniel Schultz :tm:
Browse files

Fix AdminFactory

The `AdminFactory` had a bug: `is_admin` is not a field, but
`is_superuser` is.

No tests were using the factory so this went unnoticed, but I'm about to
want to use it.
parent 93313933
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ class OAuthUserFactory(UserFactory): ...@@ -48,7 +48,7 @@ class OAuthUserFactory(UserFactory):
class AdminFactory(UserFactory): class AdminFactory(UserFactory):
is_admin = True is_superuser = True
class StaffFactory(OAuthUserFactory): class StaffFactory(OAuthUserFactory):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment