Skip to content
Snippets Groups Projects
Commit 76869665 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl
Browse files

some changes to additional tests

parent 881f6de9
Branches Backend-refactoring
No related tags found
1 merge request!12Backend refactoring
Pipeline #128078 passed
......@@ -24,4 +24,5 @@ class RemembermeTestCase(TestCase):
def test_rememberme(self):
data = {"username": "user", "password": "test"}
response = self.client.get(url, data)
self.assertEqual(response.status_code, 200)
\ No newline at end of file
self.assertEqual(response.status_code, 200)
\ No newline at end of file
......@@ -14,7 +14,8 @@ class WorkoutFilesTestCase(TestCase):
"""
def setUp(self):
self.user = User.objects.create(username="user")
self.workout = Workout.objects.create(name="workout", date="2021-03-06T18:00:00Z", notes="note", owner=self.user, visibility="PU")
self.workout = Workout.objects.create(name="workout", date="2021-03-06T18:00:00Z", notes="note",
owner=self.user, visibility="PU")
self.exercise = Exercise.objects.create(name="exercise", description="test", unit="test")
def test_workout_files(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment