-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.0.2
-
None
-
MOODLE_20_STABLE
-
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_set_cm
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 588 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_setting_cm_sets_context
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 626 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_activity_record_loaded_if_not_set
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 638 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_set_activity_record
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 646 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_cannot_set_inconsistent_activity_record_course
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 656 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_cannot_set_inconsistent_activity_record_instance
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 667 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_settin_cm_sets_course
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 679 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_set_cm_with_course_and_activity_no_db
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 690 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
Exception: lib/simpletest/testpagelib_moodlepage.php / ► moodle_page_cm_test / ► test_get_activity_name
Unexpected exception of type [moodle_exception] with message [Invalid course module ID] in [C:\xampp\htdocs\moodle\lib\modinfolib.php line 146]
- line 805 of \lib\pagelib.php: call to course_modinfo->get_cm()
- line 711 of \lib\simpletest\testpagelib_moodlepage.php: call to moodle_page->set_cm()
- line ... of ...
- line 37 of \admin\report\unittest\ex_simple_test.php: call to TestSuite->run()
- line ... of ...
- line 100 of \admin\report\unittest\index.php: call to autogroup_test_coverage->run()
- duplicates
-
MDL-27401 Unit test lib/simpletest/testpagelib_moodlepage.php fails
-
- Closed
-