fixup! Fix discussions by correctly serializing outgoing course_ids

This commit is contained in:
Calen Pennington
2014-05-09 16:47:39 -04:00
parent 76a04fa805
commit cbcb1059a3

View File

@@ -285,7 +285,7 @@ class UserProfileTestCase(ModuleStoreTestCase):
StringEndsWithMatcher('/users/{}/active_threads'.format(self.profiled_user.id)),
data=None,
params=PartialDictMatcher({
"course_id": self.course.id,
"course_id": self.course.id.to_deprecated_string(),
"page": params.get("page", 1),
"per_page": views.THREADS_PER_PAGE
}),