You are here

public function Pathautoi18nNodeTest::setUp in Pathauto i18n 8

SetUp method.

Overrides WebTestBase::setUp

File

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

Class

Pathautoi18nNodeTest
Pathauto i18n test functionality for nodes.

Namespace

Drupal\pathauto_i18n\Tests

Code

public function setUp() {
  parent::setUp();
  $this
    ->prepareTest();

  /*// Configure patterns for all language for easy testing.
      $edit = array(
        'pathauto_node_article_pattern' => 'all/[node:title]',
        'pathauto_node_article_und_pattern' => 'neutral/[node:title]',
      );

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