You are here

public function Pathautoi18nNodeTest::testAutomaticAliasUndefinedLanguage in Pathauto i18n 7

Test nodes with automatic alias for undefined language.

File

tests/pathauto_i18n_node.test, line 80

Class

Pathautoi18nNodeTest
Test functionality for nodes.

Code

public function testAutomaticAliasUndefinedLanguage() {
  $this->contentLanguage = LANGUAGE_NONE;
  $this
    ->testAutomaticAliasLanguageSelected();
  $neutral_alias = 'neutral/' . $this->title;
  $this
    ->assertNoText($neutral_alias, 0, "Alias '{$neutral_alias}' for undefined language not exist.");
}