Commit 76869665 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl
Browse files

some changes to additional tests

parent 881f6de9
Pipeline #128078 passed with stages
in 2 minutes and 44 seconds
......@@ -25,3 +25,4 @@ class RemembermeTestCase(TestCase):
data = {"username": "user", "password": "test"}
response = self.client.get(url, data)
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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment