function DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 tests/apachesolr_base.test \DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage()
- 7 tests/apachesolr_base.test \DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage()
Asserts that we can edit a search environment
File
- tests/
apachesolr_base.test, line 313 - Unit test class that provides tests for base functionality of the Apachesolr Module without having the need of a Solr Server
Class
- DrupalSolrOfflineSearchPagesWebTestCase
- @file Unit test class that provides tests for base functionality of the Apachesolr Module without having the need of a Solr Server
Code
function testCheckCoreSearchPage() {
// Create a new environment
$this
->drupalLogin($this->admin_user);
$this
->drupalGet('admin/settings/apachesolr/search-pages');
$this
->assertText(t('Core Search'), t('Core Search page is available'));
}