You are here

public function Pathautoi18nUserTest::setUp in Pathauto i18n 8

SetUp method.

Overrides WebTestBase::setUp

File

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

Class

Pathautoi18nUserTest
Pathauto i18n test functionality for user.

Namespace

Drupal\pathauto_i18n\Tests

Code

public function setUp() {
  $modules[] = 'pathauto_i18n_user';
  $this
    ->prepareTest();

  /*// Configure patterns for all language for easy testing.
      $edit = array(
        'pathauto_user_pattern' => 'neutral/users/[user:name]',
      );

      foreach ($this->availableLanguages as $language) {
        $edit['pathauto_user_user_' . $language . '_pattern'] = $language . '/users/[user:name]';
      }
      $this->drupalPost('admin/config/search/path/patterns', $edit, t('Save configuration'));*/
}