You are here

public function Pathautoi18nUserTest::testUserAlias in Pathauto i18n 8

Test user alias.

File

src/Tests/Pathautoi18nUserTest.php, line 45
Tests for the pathauto_i18n user module.

Class

Pathautoi18nUserTest
Pathauto i18n test functionality for user.

Namespace

Drupal\pathauto_i18n\Tests

Code

public function testUserAlias() {

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