update some more call sites in LMS to always pass in a course_id

This commit is contained in:
Chris Dodge
2013-08-19 13:57:16 -04:00
parent a16aee340a
commit bc5e27fe17
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ class PageLoaderTestCase(LoginEnrollmentTestCase):
location_query = Location(course_loc.tag, course_loc.org,
course_loc.course, None, None, None)
items = module_store.get_items(location_query)
items = module_store.get_items(location_query, course_id=course_id)
if len(items) < 1:
self.fail('Could not retrieve any items from course')