Skip to content

Commit 5a2ea61

Browse files
fix: create courses for different ids
1 parent 8d01984 commit 5a2ea61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openedx/core/djangoapps/user_authn/views/tests/test_auto_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def setUp(self):
5454
super().setUp()
5555
self.url = '/auto_auth'
5656
self.client = Client()
57-
self.course_key = CourseLocator("edX", "Test101", "2014_Spring")
58-
CourseOverviewFactory.create(id=self.course_key)
57+
CourseOverviewFactory.create(id=CourseLocator.from_string(self.COURSE_ID_MONGO))
58+
CourseOverviewFactory.create(id=CourseLocator.from_string(self.COURSE_ID_SPLIT))
5959

6060
def test_create_user(self):
6161
"""

0 commit comments

Comments
 (0)