You are here

protected function SearchApiWebTest::drupalGet in Search API 7

Overrides DrupalWebTestCase::drupalGet().

Additionally asserts that the HTTP request returned a 200 status code.

Overrides DrupalWebTestCase::drupalGet

6 calls to SearchApiWebTest::drupalGet()
SearchApiWebTest::checkIndexingOrder in ./search_api.test
Tests whether items are indexed in the right order.
SearchApiWebTest::checkIndexStatus in ./search_api.test
Checks whether the index's "Status" tab shows the correct values.
SearchApiWebTest::checkOverview in ./search_api.test
Checks whether the server and index are correctly listed in the overview.
SearchApiWebTest::checkServerTasks in ./search_api.test
Tests whether the server tasks system works correctly.
SearchApiWebTest::createIndex in ./search_api.test
Creates a test index via the UI and tests whether this works correctly.

... See full list

File

./search_api.test, line 41
Contains the SearchApiWebTest and the SearchApiUnitTest classes.

Class

SearchApiWebTest
Class for testing Search API functionality via the UI.

Code

protected function drupalGet($path, array $options = array(), array $headers = array()) {
  $ret = parent::drupalGet($path, $options, $headers);
  $this
    ->assertResponse(200, 'HTTP code 200 returned.');
  return $ret;
}