Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sleonardoaugusto committed May 26, 2024
1 parent d6fbe8b commit 1c5e068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lavocat/test_fixtures/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def client_unauthenticated():

@pytest.fixture
def client():
user = baker.make('User')
user = baker.make('User', is_superuser=True)
token = RefreshToken.for_user(user)
client = APIClient()
client.credentials(HTTP_AUTHORIZATION=f'Bearer {token.access_token}')
Expand Down

0 comments on commit 1c5e068

Please sign in to comment.