moodle/course/tests
Eloy Lafuente (stronk7) a182f88f7f MDL-39723 prevent update_courses() bad habits.
All the external functions end calling require_login() that is
always in charge of setting the $COURSE global. This is not a
problem, but in the case of core_course_external::update_courses()
testing, where we are, in the same "request", both setting and getting
the $COURSE information and it's clearly outdated, so the test fails.

Alternative solution would be to modify the external function to ensure
that, after updating a course, $COURSE is also updated with the changes
but it does not seem to be necessary for "normal" usage (both UI/WS POVs).
2013-06-04 21:45:15 +02:00
..
behat MDL-39717 behat: Removing unstable steps and scenarios 2013-05-17 11:24:21 +08:00
courselib_test.php MDL-38315 Fix unit tests for module completion 2013-05-06 23:27:40 +08:00
courserequest_test.php MDL-35479 fix course request tests to use debugging asserts 2012-09-17 11:59:00 +02:00
externallib_test.php MDL-39723 prevent update_courses() bad habits. 2013-06-04 21:45:15 +02:00