You are here

public function Pathautoi18nNodeTest::testAutomaticAliasLanguageSelected in Pathauto i18n 8

Test nodes with automatic alias for certain language.

File

src/Tests/Pathautoi18nNodeTest.php, line 46
Tests for the pathauto_i18n node module.

Class

Pathautoi18nNodeTest
Pathauto i18n test functionality for nodes.

Namespace

Drupal\pathauto_i18n\Tests

Code

public function testAutomaticAliasLanguageSelected() {

  /*$this->createNode($this->contentLanguage, TRUE, TRUE);
    // Check aliases.
    $this->drupalGet('admin/config/search/path');
    foreach ($this->availableLanguages as $language) {
      $alias = $language . '/' . $this->title;
      $this->assertText($alias, 0, "Exist alias '$alias' for language '$language'.");
    }*/
}