moodle/h5p/tests
Sara Arjona eb4e36400e MDL-71956 core_h5p: Add more scenarios to can_edit_content
The method can_edit_content() now supports more scenarios where the
H5P content can be edited:
- Instead of supporting only mod_h5pactivity, now it supports any
mod or block when the user has the addinstance capability.
- If the component implements the can_edit_content method in the
h5p\canedit class and it returns true. For instance, the mod_forum
implements it and return true when filearea is post, if the user
can edit the post where the H5P is.
2021-11-09 16:47:18 +01:00
..
behat MDL-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
fixtures MDL-68902 core_h5p: add essay h5p package 2020-06-09 16:58:17 +02:00
generator MDL-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
local/library MDL-68227 core_h5p: localize H5P editor strings 2020-05-12 16:39:42 +02:00
api_test.php MDL-71956 core_h5p: Add more scenarios to can_edit_content 2021-11-09 16:47:18 +01:00
coverage.php MDL-71036 phpunit: xml config - switch coverage info to new includes 2021-03-11 23:04:32 +01:00
editor_ajax_test.php MDL-71970 h5plib_v124: Replace references to new Moodle\H5Pxxx namespace 2021-09-27 11:41:48 +02:00
editor_framework_test.php MDL-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
editor_test.php MDL-71970 h5plib_v124: Replace references to new Moodle\H5Pxxx namespace 2021-09-27 11:41:48 +02:00
event_h5p_deleted_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
event_h5p_viewed_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
external_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
framework_test.php MDL-71970 h5plib_v124: Replace references to new Moodle\H5Pxxx namespace 2021-09-27 11:41:48 +02:00
generator_test.php MDL-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
h5p_core_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
h5p_file_storage_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
helper_test.php MDL-71343 core_h5p: Add unit test for helper::parse_js_array 2021-05-01 00:09:40 +12:00