Marina Glancy
07622451a3
MDL-42174 behat: deprecate upload file to filepicker step in favour of filemanager
2013-12-05 21:00:25 +11:00
David Monllao
e7c71c448b
MDL-42627 behat: Moving the deprecated method to behat_deprecate and updating scenarios
2013-12-02 14:13:17 +08:00
Frederic Massart
25a66af722
MDL-39956 cohort: Event clean up and made ready for integration
...
* Added more PHP Documentation
* Localised strings for get_name()
* get_legacy_eventname() is now static
* get_legacy_eventdata() is now protected
* Testing legacy event data
* Added missing defined('MOODLE_INTERNAL') checks
* Added missing call to add_record_snapshot()
2013-08-13 17:41:03 +08:00
Dan Poltawski
4fece33d9a
MDL-39956 cohort: Add tests for new events
2013-08-13 17:31:07 +08:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Sam Hemelryk
18474f822b
Merge branch 'MDL-40666-master' of git://github.com/danpoltawski/moodle
2013-07-23 14:09:08 +12:00
David Monllao
3897608152
MDL-39635 behat: XPath cleanups
...
- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
to avoid problems with arguments containing both single
quotes and double quotes
2013-07-19 10:02:36 +02:00
David Monllao
dedb973878
MDL-39635 behat: Replacing hardcoded language strings
...
Using get_string() instead.
2013-07-19 10:02:10 +02:00
Dan Poltawski
fb5ce7d351
MDL-40666 enrol|cohort: PARAM_NUMBER -> PARAM_INT
...
PARAM_NUMBER is a float, our id's are int's
* Fix core_cohort_get_cohorts to specify correct return type on cohort id
* Fix core_enrol_get_enrolled_users_with_capability to specify correct
correct return type on user id
* Fix core_cohort_update_cohorts to specify the right parameter type
(int) on cohort id
* Add tests to verify the bug on core_cohort_update_cohorts param type.
2013-07-16 15:03:03 +08:00
Dan Poltawski
4f60c4af77
MDL-40666 cohort: remove duplicated code from tests
2013-07-16 14:51:59 +08:00
David Monllao
c4509f8084
MDL-39638 behat: New step to collapse nodes based on the expand nodes
...
Also updating steps with a collapse behaviour.
2013-05-16 12:43:54 +08:00
Eloy Lafuente (stronk7)
e477f1e45f
fix permissions
2013-05-10 17:23:55 +02:00
David Monllao
5d7b6307b1
MDL-39586 behat: Closed list of stackeholders
2013-05-09 18:38:13 +08:00
Damyon Wiese
66d6221f9a
MDL-29472: Cohorts webservice - fix numerous access problems and add to the unit tests.
...
Also allow 'system' as a category type to allow you to create/update system wide cohorts.
2013-05-08 12:56:14 +08:00
Andrea Bicciolo
088645e22c
MDL-29472_m WebServices Cohorts
2013-05-03 12:24:40 +02:00
David Monllao
550d842e3c
MDL-39232 behat Normalize feature tags according to component names
2013-04-30 11:54:47 +08:00
David Monllao
9b1dbe16db
MDL-39232 behat: Adding @_only_local tag
...
Tests which requires files to be uploaded should
be tagged as @_only_local.
2013-04-30 11:54:47 +08:00
David Monllao
ba097b8253
MDL-38619 behat: New test
...
According to MDLQA-1445, an administrator
can upload users to a cohort.
2013-03-28 11:17:33 +08:00
David Monllao
f0e4cf5e31
MDL-38619 behat: Step definition to add enrolment methods to courses
2013-03-28 11:17:14 +08:00
David Monllao
e800f0d6ae
MDL-38619 behat: New test
...
According to MDLQA-1177, an administrator
can create a cohort and add users to it.
2013-03-28 11:17:11 +08:00
Petr Škoda
960931d945
MDL-35465 add more sql escaping tests for cohort_get_cohorts()
2012-09-16 22:32:33 +02:00
Petr Škoda
9a2f6770d7
MDL-35465 improve cohort paging
2012-09-16 21:56:27 +02:00
Petr Škoda
aad6e655f6
MDL-35465 fix cohort_get_cohorts() and add tests
2012-09-16 21:29:39 +02:00
Petr Škoda
a09ae434ef
MDL-35465 fix cohort_get_visible_list() and add tests
2012-09-16 21:07:53 +02:00
Petr Škoda
4729332b15
MDL-35465 add basic cohort lib tests and generator
2012-09-16 20:23:19 +02:00