mirror of
https://github.com/fspc/workstand.git
synced 2026-09-16 16:41:38 -04:00
Does not have to be a super_user.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user