You are here

public function AcquiaSearchWebTestCase::testSearchEnvironmentsSettingsForm in Acquia Connector 7.3

Tests that global settings form contains EdisMax radio buttons.

File

acquia_search/tests/acquia_search.test, line 627
Tests for the Acquia Search module.

Class

AcquiaSearchWebTestCase
Tests the functionality of the Acquia Search module.

Code

public function testSearchEnvironmentsSettingsForm() {
  $permissions = [
    'administer site configuration',
    'administer search',
  ];
  $this->privilegedUser = $this
    ->drupalCreateUser($permissions);
  $this
    ->drupalLogin($this->privilegedUser);
  $this
    ->drupalGet('admin/config/search/apachesolr/settings');
  $this
    ->assertResponse(200);
  $this
    ->assertText('Always allow advanced syntax for Acquia Search');
}