Ankit Agarwal
f20ae2c5d6
MDL-45342 book: Automate MDLQA-2423 - A teacher can create book chapters and subchapters
2014-05-02 12:13:42 +08:00
Petr Skoda
ef2a9ece71
MDL-45144 convert book events to create_from_xxx() helpers
2014-04-17 14:29:31 +08:00
Marina Glancy
1b066c06c6
Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle
2014-02-03 13:42:23 +08:00
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Russell Smith
74b63eae76
MDL-43440 unit testing: Use cmid in unit tests when it should be used.
...
instance is has been used instead of cmid. This works as all id's are 1
in most cases, but not always.
accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
Ankit Agarwal
1f2aeda91e
MDL-43044 events: Add unit tests
2013-12-06 16:08:03 +08:00
Marina Glancy
b6affde2cb
MDL-42400 generator: Add function testing_module_generator::create_content()
...
also implement it for mod_book and mod_forum to call existing create_page, create_discussion/post functions
2013-10-26 14:00:24 +11:00
Marina Glancy
7fbe33fcf1
MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts
2013-10-26 14:00:23 +11:00
Frederic Massart
7f6e3eefd1
MDL-40060 mod_book: Replace add_to_log with events
2013-10-08 14:11:10 +08:00
Frederic Massart
7abaa052b4
MDL-40060 mod_book: Data generator for module and chapters
2013-10-04 15:37:04 +08:00