mirror of
https://github.com/fspc/workstand.git
synced 2025-03-14 18:23:23 -04:00
Does not have to be a super_user.
This commit is contained in:
parent
1f6202be56
commit
2787578c0e
@ -17,7 +17,7 @@ from unittest.mock import patch
|
||||
|
||||
class TestBikeApi(TestCase):
|
||||
def setUp(self):
|
||||
self.user = mommy.make('registration.CustomUser', is_admin=True, is_superuser=True)
|
||||
self.user = mommy.make('registration.CustomUser', is_admin=True)
|
||||
|
||||
def test_endpoint_exists(self):
|
||||
client = APIClient()
|
||||
|
Loading…
x
Reference in New Issue
Block a user