EDUCATOR-5080 - Updated views test case to account for teamset_id as opposed to topic_id

This commit is contained in:
Justin Lapierre
2020-07-01 09:40:46 -04:00
parent 7d47bc39dc
commit 70f5c98fb7

View File

@@ -659,7 +659,7 @@ class TeamAPITestCase(APITestCase, SharedModuleStoreTestCase):
name="Test team",
course=None,
description="Filler description",
topic_id="topic_0",
teamset_id="topic_0",
**kwargs
):
"""Creates the payload for creating a team. kwargs can be used to specify additional fields."""
@@ -669,7 +669,7 @@ class TeamAPITestCase(APITestCase, SharedModuleStoreTestCase):
'name': name,
'course_id': str(course.id),
'description': description,
'topic_id': topic_id,
'teamset_id': teamset_id,
})
return data