David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
Russell Smith
42e34c2882
MDL-43926 files: Unit tests cannot assume id values.
2014-02-06 09:34:56 +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
David Monllao
81ad5438c7
MDL-43480 behat: Removing @_only_local tags from steps where it is not necessary
2014-01-17 10:41:37 +08:00
David Monllao
63950e4d0b
MDL-42236 behat: New steps to look for elements visibility
2013-11-01 08:55:27 +08:00
David Monllao
89376590c0
MDL-42013 behat: Uncommenting @core_files test
2013-10-10 18:40:29 +08:00
Eric Merrill
53d79266b9
MDL-41940 files Additional behat cleanup
...
Fixing components and Given/When/Then styling.
2013-10-09 22:56:29 -04:00
Eric Merrill
ff715cc936
MDL-41940 files Fixes for behat tests
...
Commented out second test pending MDL-42013 visibiliy checking.
2013-10-09 07:47:11 -04:00
Eric Merrill
cc0bb815ad
MDL-41940 files Option to limit legacy course files
...
Adding an option that prevents users from adding new files
or directories to legacy course files. Helps with weaning
users from them.
2013-10-04 13:56:57 -04:00
Adrian Greeve
9c3bfea0da
MDL-41419 - unit tests: Fixed up sporadic test failures in externallib_test.php.
...
Also added much needed comments to the unit test.
2013-08-27 10:40:08 +08:00
Damyon Wiese
3d262be88d
MDL-40038 files: Removed commented code from unit test
2013-08-20 15:52:11 +08:00
Damyon Wiese
57cef30e42
Merge branch 'wip-MDL-40038-master' of git://github.com/abgreeve/moodle
...
Conflicts:
files/tests/externallib_test.php
2013-08-20 15:51:57 +08:00
Adrian Greeve
196c8b71f1
MDL-40038 - web services: Added unit tests for core_files_external::get_files().
2013-08-15 15:28:38 +08:00
Damyon Wiese
873482fe9b
MDL-22236 webservice upload files: Update unit tests
2013-08-12 10:38:30 +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
Ankit Agarwal
71e38b128e
MDL-40039 phpunit: Test core_files_external::upload() without the new params
2013-07-04 13:26:07 +08:00
Ankit Agarwal
57d16acd74
MDL-40039 webservices: Add support for alternate to contextid parameter to core_files_external::upload()
2013-06-28 10:51:01 +08:00
Ankit Agarwal
11f20be783
MDL-40250 phpunit: Add unit tests for core_files_external::upload()
2013-06-21 11:32:02 +08:00