Merge branch 'MDL-53643_master' of git://github.com/dmonllao/moodle
authorDan Poltawski <dan@moodle.com>
Wed, 30 Mar 2016 07:52:26 +0000 (15:52 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 30 Mar 2016 07:52:26 +0000 (15:52 +0800)
search/engine/solr/tests/engine_test.php

index b74923c..f31f6e3 100644 (file)
@@ -70,8 +70,8 @@ class search_solr_engine_testcase extends advanced_testcase {
             $this->markTestSkipped('Solr extension test server not set.');
         }
 
-        set_config('hostname', TEST_SEARCH_SOLR_HOSTNAME, 'search_solr');
-        set_config('port', TEST_SEARCH_SOLR_PORT, 'search_solr');
+        set_config('server_hostname', TEST_SEARCH_SOLR_HOSTNAME, 'search_solr');
+        set_config('server_port', TEST_SEARCH_SOLR_PORT, 'search_solr');
         set_config('indexname', TEST_SEARCH_SOLR_INDEXNAME, 'search_solr');
 
         if (defined('TEST_SEARCH_SOLR_USERNAME')) {