You are here

public function Pathautoi18nTest::setCleanStringSettings in Pathauto i18n 7

Set settings to test cleanstring.

3 calls to Pathautoi18nTest::setCleanStringSettings()
Pathautoi18nNodeTest::testCleanString in tests/pathauto_i18n_node.test
Test clearing of string.
Pathautoi18nTaxonomyTest::testCleanString in tests/pathauto_i18n_taxonomy.test
Test clearing of string.
Pathautoi18nUserTest::testCleanString in tests/pathauto_i18n_user.test
Test clearing of string.

File

tests/pathauto_i18n.test.inc, line 75
Tests for the pathauto_i18n node module.

Class

Pathautoi18nTest
Test functionality for nodes when language selected.

Code

public function setCleanStringSettings() {
  $data = array();
  foreach ($this->availableLanguages as $language) {
    $data['pathauto_ignore_words_' . $language . '_language'] = $language;
  }
  $this
    ->drupalPost('admin/config/search/path/settings', $data, t('Save configuration'));
}