-
Bug
-
Resolution: Fixed
-
Minor
-
3.9, 3.10
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-69206-master -
-
4.0 holding pattern 2
test_get_content_items_by_name_pattern looks for the text "assign" and reports an error if it can find more than one item with that name.
so... if you add "mod_turnitintooltwo" to the codebase which is referred to as "Turnitin assignment" this test now fails.
this test should be modified to look for something that is guaranteed to be more unique.
– failling test below –
1) tests\course\services_content_item_service_testcase::test_get_content_items_by_name_pattern
Failed asserting that actual size 2 matches expected size 1.
/var/www/html/course/tests/services_content_item_service_test.php:157
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
To re-run:
vendor/bin/phpunit --colors "tests\course\services_content_item_service_testcase" course/tests/services_content_item_service_test.php
- has a non-specific relationship to
-
MDL-67587 Add searching of the recommended activities admin page
- Closed