![]() fixes #6142 test plan: Create a course and enroll some students. Move the course to another root account. The following SQL query should return 0: SELECT COUNT(e.id) FROM enrollments e INNER JOIN courses c ON e.course_id = c.id WHERE e.root_account_id != c.root_account_id To test the migration, mess up some of the enrollment root_account_ids: UPDATE enrollments SET root_account_id = 99 Before migrating, the SELECT COUNT snippet above should return false, after migrating, it should return true. Change-Id: I9b18dded8a763a8a05f5e631907f77b4e9a1bd49 Reviewed-on: https://gerrit.instructure.com/7081 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Jon Jensen <jon@instructure.com> |
||
---|---|---|
.. | ||
coffeescripts | ||
controllers | ||
helpers | ||
messages | ||
middleware | ||
models | ||
observers | ||
stylesheets | ||
views |