moodle/search/tests
Neill Magill e86bc4921e MDL-71115 search: Only replace course search when equivalent
Not all global search configurations offer the same results as the
default course search does.

The default course search will return courses that the user can see
the details of even if they can see them via a category, even if
they are not enrolled and cannot enrol themselves on it.

The equivalent global search configuration is:

* Global search is enabled
* The course indexing is enabled
* All the name and summary of all courses are included in the results

This patch will only let global search replace the default course
search when those criteria are met.

It will also display on the global search configuration page if global
search will replace the legacy course search.
2021-11-10 09:11:19 +00:00
..
behat MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
fixtures MDL-68729 Search: Allow query on one server while indexing another 2020-08-06 12:12:01 +01:00
generator MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
area_category_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
base_activity_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
base_block_test.php MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
base_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
document_icon_test.php MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
document_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
engine_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
events_test.php MDL-55191 search: Generate an search result viewed event 2016-09-15 09:36:49 +08:00
external_test.php MDL-70979 search: validate external user search parameters. 2021-04-22 10:22:35 +01:00
manager_test.php MDL-71115 search: Only replace course search when equivalent 2021-11-10 09:11:19 +00:00
skip_future_documents_iterator_test.php MDL-60720 core_search: Indexing halts on failed get_document 2017-11-07 16:36:37 +00:00
top_result_test.php MDL-60917 core_search: fix unit test 2021-10-19 14:22:39 +11:00