Commit Graph

26 Commits

Author SHA1 Message Date
Dan Poltawski d6ff91bb4f Revert "Merge branch 'MDL-43127-27' of git://github.com/FMCorz/moodle into MOODLE_27_STABLE"
This reverts commit 6ae2ce8802, reversing
changes made to 04334d635f.
2014-11-27 09:35:35 +00:00
Dan Poltawski f9ed85a8e5 Revert "Merge branch 'MDL-43127-27-fixup' of https://github.com/FMCorz/moodle into MOODLE_27_STABLE"
This reverts commit 7cda7d47a2, reversing
changes made to 8272ee15ed.
2014-11-27 09:35:33 +00:00
Frederic Massart 8c2dd12b46 MDL-43127 tool_uploadcourse: Empty enrolment method is acceptable
Without the patch a course would not be created if it contained
an enrolment method column with an empty value. e.g.:

shortname,fullname,category,enrolment_1,enrolment_1_disable
courserestored,Course restored,1,,
courserestored2,Course restored 2,manual,1
2014-11-26 17:14:35 +08:00
Frederic Massart acd52a33ec MDL-43127 tool_uploadcourse: Add support for more enrolment methods 2014-11-25 11:01:22 +08:00
Adrian Greeve 9c630abcd7 MDL-47675 phpunit: Update unit tests to pass on MSSQL
Unit tests were failing on MSSQL. gc_collect_cycles() was
removed from the phpunit utils.php file to save time in running
the tests, but MSSQL doesn't clean up open files as well as
other databases.

This patch includes the garbage collection for the unit tests
that require it.
2014-10-23 08:54:35 +08:00
Dan Poltawski 7f42ee92eb Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle 2014-03-10 13:45:26 +08:00
David Monllao 1f631c7c63 MDL-44440 behat: Changing , for > as a navigation tree nodes separator
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
David Monllao 759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
David Monllao a542553d42 MDL-44440 behat: Refactoring features to use I navigate to
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +08:00
David Monllao f083d6145e MDL-43738 behat: Updating features files
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match

Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
David Monllao 561e9bb92e MDL-43480 behat: Switching @_only_local and @_alerts to @_file_upload and @_alert 2014-01-17 10:41:37 +08:00
Marina Glancy 07622451a3 MDL-42174 behat: deprecate upload file to filepicker step in favour of filemanager 2013-12-05 21:00:25 +11:00
sam marshall db0f0097e8 MDL-42084 Unit tests: Remove unnecessary 'clear time limit change' lines 2013-11-06 16:40:04 +00:00
Frederic Massart 7bfc9edd9d MDL-41347 tool_uploadcourse: Invalid restore value handled 2013-10-03 11:22:53 +08:00
Frederic Massart d90b2eb949 MDL-41210 tool_uploadcourse: Fixed restore from same backup file 2013-08-15 12:17:54 +08:00
Frederic Massart 42f4ba9b65 MDL-40737 tool_uploadcourse: Prove that category equals to 0 is handled 2013-08-05 15:32:43 +08:00
Frederic Massart 0e8f56103c MDL-40737 tool_uploadcourse: Prevent update of frontpage 2013-08-05 15:23:22 +08:00
Petr Škoda c25a5adb37 MDL-40898 try to hack around the sloppy open file handlers in backup/restore code 2013-07-28 13:29:39 +02:00
Petr Škoda bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Frederic Massart 76fca7168c MDL-13114 tool_uploadcourse: Simple Behat tests for create and update 2013-07-15 10:02:56 +08:00
Frederic Massart f802b04f03 MDL-13114 tool_uploadcourse: Better Unit Test coverage 2013-07-15 10:02:55 +08:00
Frederic Massart 3f57c87e1d MDL-13114 tool_uploadcourse: Clean up 2013-07-15 10:02:55 +08:00
Frederic Massart e0164eb3c6 MDL-13114 tool_uploadcourse: Use autoload and clean require_once 2013-07-15 10:02:55 +08:00
Frederic Massart f54c49ccf0 MDL-13114 tool_uploadcourse: ID number errors handling 2013-07-15 10:02:55 +08:00
Frederic Massart 1d1898ac01 MDL-13114 tool_uploadcourse: Improving the error reporting 2013-07-15 10:02:54 +08:00
Frederic Massart 509dd69554 MDL-13114 tool_uploadcourse: Unit tests for introduced classes 2013-07-15 10:02:54 +08:00