Skip to content

Commit

Permalink
Attempt fix tests. Now use force_login instead of force_authenticate
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritzs committed Mar 31, 2025
1 parent 1e963df commit 9a3ab1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/test_workout_file_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setUp(self):
username=username,
password=password,
)
self.client.force_authenticate(self.user)
self.client.force_login(self.user)

self.url = reverse("workout-file-list")

Expand Down

0 comments on commit 9a3ab1e

Please sign in to comment.