mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'MDL-62183_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
57565dc3b2
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class search_solr_engine_testcase extends advanced_testcase {
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
$this->resetAfterTest();
|
$this->resetAfterTest();
|
||||||
set_config('enableglobalsearch', true);
|
set_config('enableglobalsearch', true);
|
||||||
|
set_config('searchengine', 'solr');
|
||||||
|
|
||||||
if (!function_exists('solr_get_version')) {
|
if (!function_exists('solr_get_version')) {
|
||||||
$this->markTestSkipped('Solr extension is not loaded.');
|
$this->markTestSkipped('Solr extension is not loaded.');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue