public function Pathautoi18nTaxonomyTest::testCleanString in Pathauto i18n 8
Test clearing of string.
File
- src/
Tests/ Pathautoi18nTaxonomyTest.php, line 78 - Tests for the pathauto_i18n taxonomy module.
Class
- Pathautoi18nTaxonomyTest
- Pathauto i18n test functionality for taxonomy.
Namespace
Drupal\pathauto_i18n\TestsCode
public function testCleanString() {
/*// Set appropriate title which will allow us remove parts of path.
$initial_title = $this->title;
$this->title .= ' ' . implode(' ', $this->availableLanguages);
$this->setCleanStringSettings();
$this->createTaxonomyTerm(TRUE, TRUE);
// Check aliases.
$this->drupalGet('admin/config/search/path');
foreach ($this->availableLanguages as $language) {
$suffix = $this->getCleanStringSuffix($language);
$alias = $language . '/' . $initial_title . '/' . $suffix;
$this->assertNoText($alias, 0, "Exist alias '$alias' for language '$language' with excluded string '$language'.");
}*/
}