You are here

function DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 tests/apachesolr_base.test \DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage()
  2. 6.3 tests/apachesolr_base.test \DrupalSolrOfflineSearchPagesWebTestCase::testCheckCoreSearchPage()

Asserts that we can edit a search environment

File

tests/apachesolr_base.test, line 293
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/config/search/apachesolr/search-pages');
  $this
    ->assertText(t('Core Search'), t('Core Search page is available'));
}