Commit Graph

35 Commits

Author SHA1 Message Date
Sam Hemelryk b7a4701d1f MDL-41417 course: fixed idnumbertaken string 2013-09-09 12:15:59 +12:00
Mark Nelson eb57e9e60b MDL-41417 course: allow the use of duplicated idnumbers if they existed before fix 2013-09-06 15:24:43 +08:00
Francis Devine 5f8e23c1a9 MDL-41417 course: prevent duplicate idnumbers being used when updating a course 2013-09-06 15:24:19 +08:00
Sam Hemelryk c7f4deecbd Merge branch 'MDL-41045-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE 2013-08-13 10:19:05 +12:00
sam marshall 1a60cd4e5c MDL-41045 course_add_cm_to_section should not test for sections unless necessary 2013-08-07 17:20:59 +01:00
Dan Poltawski c181c6137d MDL-40536 course: unit tests for course_external::import_course
Basic import operations and a specific test case which identifies
a bug.
2013-07-12 16:40:59 +08:00
Jerome Mouneyrac 5831c40c5c MDL-38440 WebService get_contents doesn't return the full text of labels 2013-04-26 15:59:14 +08:00
Dan Poltawski ba97fbe855 MDL-38700 course: add tests for moveto_module()
* Test visibility when moving around hidden sections
* Test for visiblity changes when moving around in the same sections.
2013-03-26 15:00:26 +08:00
Adrian Greeve 4f1538728a MDL-30669 - blocks: Unit tests for course_page_type_list() 2013-02-26 09:50:02 +01:00
Marina Glancy 1a9d07fb59 MDL-38144 categories are created in reverse sort order in externallib 2013-02-26 11:29:39 +11:00
Andrew Robert Nicols acdf4859b5 MDL-37939 Course: Add additional unit tests to confirm that module move occurs correctly 2013-02-15 21:10:22 +00:00
Jerome Mouneyrac 7e2184125c MDL-37476 course_create unit test fails if course completion is enabled 2013-01-23 13:57:24 +08:00
Jerome Mouneyrac ada5df1069 MDL-37354 clean return value for each externallib PHPUnit tests 2013-01-09 13:55:54 +08:00
Frederic Massart f7d6e65032 MDL-36417 course: Unit tests for section visibility 2012-11-14 11:22:20 +08:00
Marina Glancy 8d8d4da44d MDL-36017 renamed formatoptions to courseformatoptions in externallib 2012-11-05 11:40:03 +08:00
Marina Glancy 850acb3560 MDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary
- If we want to check fields 'numsections' or 'hiddensections' call course_get_format()->get_format_options()
- We still use extended course object in course/edit.php, update_course(), create_course(), and inside course formats
2012-11-05 11:22:06 +08:00
Marina Glancy 0e984d9809 MDL-36017 Course now may have format-specific options, numsections and hiddensections are among them 2012-11-02 10:56:22 +08:00
Marina Glancy b46be6adf4 MDL-35339 Better cache reset for get_fast_modinfo(), allow exec get_fast_modinfo($courseid) 2012-10-15 14:08:15 +08:00
Marina Glancy 384c3510a9 MDL-35339 Course functions unit tests 2012-10-15 14:08:14 +08:00
Eloy Lafuente (stronk7) 3b950bab64 Merge branch 'w41_MDL-35382_m24_reordertest' of git://github.com/skodak/moodle 2012-10-08 23:54:36 +02:00
Eloy Lafuente (stronk7) 69d2746dd2 Revert "MDL-34894 course ws unit tests: fix windows problem."
This reverts commit 954c272e54.

With MDL-35714, each test gets gc_collect_cycles() called, so
no need to call it "manually".
2012-10-08 22:57:50 +02:00
Petr Skoda 3a222db215 MDL-35382 fix random course test failures 2012-10-06 13:27:04 +02:00
Tim Hunt 954c272e54 MDL-34894 course ws unit tests: fix windows problem.
This fixes a weird windows-only failure, as explained in the tracker
issue.
2012-09-27 18:57:51 +01:00
Petr Škoda ca6a4546d4 MDL-35479 fix course request tests to use debugging asserts 2012-09-17 11:59:00 +02:00
Sam Hemelryk f9959166ca Merge branch 'MDL-35190' of git://github.com/mouneyrac/moodle 2012-09-11 16:46:13 +12:00
Frederic Massart 19ffa630a6 MDL-35301 Unit Tests: Test cases for course requests 2012-09-07 11:24:02 +08:00
Frederic Massart f70bfb848b MDL-35301 Unit Tests: Basic test for create_course() 2012-09-07 11:24:02 +08:00
Jerome Mouneyrac 7d6c58bc24 MDL-35190 random failures in course externallib test 2012-09-06 11:15:56 +08:00
Jerome Mouneyrac 4491273b1a MDL-34941 correct timestamp range: startdate of external fct create_course PHPunit test 2012-08-17 11:00:14 +08:00
Dan Poltawski 1b1ad55b9f MDL-33995 - unit tests: fix class name collision 2012-07-02 14:53:32 +08:00
Jerome Mouneyrac 2a7a021695 MDL-33995 Course external PHPunit test + externallib_testcase helper class 2012-06-27 16:24:22 +08:00
Dan Poltawski 3d8fe4820a MDL-33623 - course: add unit tests for section moving
Including tracking of the course marker updates
2012-06-11 11:46:22 +08:00
Rajesh Taneja eb01aa2c34 MDL-33367 course: move_section reuse move_section_to function
Conflicts:

	course/lib.php
2012-06-05 09:34:14 +08:00
Andrew Robert Nicols b1a8aa73b5 MDL-29044: Move course category creation to a separate function 2012-04-24 10:57:12 +01:00
Petr Skoda 354b214c9f MDL-32149 courselib tests and support for generation of course sections 2012-04-03 22:30:57 +02:00