1
0
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:
Drew Larson 2017-02-04 08:27:15 -06:00
parent 1f6202be56
commit 2787578c0e

View File

@ -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()