protected function AbstractDrupalSolrOnlineWebTestCase::checkCoreStatus in Apache Solr Search 7
Same name and namespace in other branches
- 8 tests/solr_index_and_search.test \AbstractDrupalSolrOnlineWebTestCase::checkCoreStatus()
- 6.3 tests/solr_index_and_search.test \AbstractDrupalSolrOnlineWebTestCase::checkCoreStatus()
Helper function to verify that the expected core exists.
1 call to AbstractDrupalSolrOnlineWebTestCase::checkCoreStatus()
File
- tests/
solr_index_and_search.test, line 146
Class
Code
protected function checkCoreStatus($core_name) {
$response = $this
->coreAdmin('STATUS', array(
'core' => $core_name,
));
$this
->assertTrue(isset($response['status'][$core_name]['index']), 'Found Solr test core index status');
}