Commit graph

29 commits

Author SHA1 Message Date
Russell Smith
d2c58b95bb MDL-43835 phpunit: Correct unit tests.
When different ID's are set for each sequence a number
of unit test failures appear.  They have been corrected
to allow unit tests to pass with the new generator in place.
2014-06-17 19:08:01 +10:00
David Monllao
a0f59af847 MDL-44621 behat: Automating MDLQA-20
Database activity entries can be viewed in a list
or singly or they can be searched or browsed.
2014-04-15 20:16:19 +07:00
David Monllao
f2cc870f9c MDL-44618 behat: MDLQA-18 converted to a behat scenario
In a database activity, students can add
entries to a database.
2014-04-15 18:34:36 +07:00
David Monllao
7e471fca18 MDL-44618 behat: Steps to speed up mod_data features creation
A step to add a field to a database and
another one to add a database entry.
2014-04-15 18:22:22 +07:00
Ankit Agarwal
b63f773296 MDL-44717 events: Fix multiple issues in events
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings

AMOS BEGIN
 MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Rajesh Taneja
b54696395d MDL-44552 Events: Fixed wrong id returned in get_url 2014-03-19 09:57:44 +08:00
Mark Nelson
561672d3a6 MDL-40061 mod_data: replaced 'record delete' add_to_log call with an event 2014-02-14 18:40:19 -08:00
Mark Nelson
3909293faf MDL-40061 mod_data: replaced 'templates saved' add_to_log call with an event 2014-02-14 18:39:56 -08:00
Mark Nelson
3ac413b28e MDL-40061 mod_data: replaced 'templates view' add_to_log call with an event 2014-02-14 18:39:55 -08:00
Mark Nelson
76ca452c12 MDL-40061 mod_data: replaced 'add' add_to_log call with an event 2014-02-14 18:39:50 -08:00
Mark Nelson
45eae37967 MDL-40061 mod_data: replaced 'update' add_to_log call with an event 2014-02-14 18:13:05 -08:00
Mark Nelson
d1ec55570d MDL-40061 mod_data: replaced 'fields update' add_to_log call with an event 2014-02-14 18:12:41 -08:00
Mark Nelson
e0d7ed6dae MDL-40061 mod_data: replaced 'fields add' add_to_log call with an event 2014-02-14 18:12:13 -08:00
Mark Nelson
e37c413e87 MDL-40061 mod_data: replaced 'fields delete' add_to_log call with an event 2014-02-14 18:11:47 -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
Rajesh Taneja
cdfd607449 MDL-43293 Events: Added unit test for comment events 2013-12-23 09:22:15 +08:00
Marina Glancy
7fbe33fcf1 MDL-42400 generator: module generators call add_moduleinfo instead of direct inserts 2013-10-26 14:00:23 +11:00
Adrian Greeve
e727e8ff58 MDL-40871 - mod_data: Unit tests for data_delete_record() 2013-08-09 16:53:18 +08:00
Adrian Greeve
a327f25ef1 MDL-31776 - lib: Alternate name fields
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00
David Monllao
6b21986911 MDL-37457 testing Mark current classes as deprecated 2013-01-15 11:07:45 +08:00
David Monllao
5c3c2c81be MDL-37457 testing Refactoring references 2013-01-15 11:07:43 +08:00
Adrian Greeve
76fb0443b6 MDL-34448 - mod/data - Fixing separate groups viewing all entries. 2012-10-05 08:11:11 +08:00
Petr Skoda
6b04fdc0b6 MDL-32400 improve module generators
Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.
2012-04-15 14:16:59 +02:00
Petr Skoda
c691274bf9 MDL-32323 use new loadDataSet in mod_data and fix typos in last commit 2012-04-10 21:07:56 +02:00
Petr Skoda
5b8d5c19fd MDL-32323 convert mod_data search test 2012-04-10 15:27:13 +02:00
Petr Skoda
9bb2b515ce MDL-32323 fix generator file name typos 2012-04-10 15:27:12 +02:00
Petr Skoda
cbdf52baa5 MDL-32323 add basic mod_data data generator 2012-04-10 15:27:10 +02:00