You are here

public function LanguageHierarchyBaseTestCase::loginTranslatorUser in Language Hierarchy 7

Log in as translator user.

3 calls to LanguageHierarchyBaseTestCase::loginTranslatorUser()
EntityTranslationHierarchyBaseTestCase::setUp in modules/entity_translation_hierarchy/tests/entity_translation_hierarchy.test
Sets up a Drupal site for running functional and integration tests.
LanguageHierarchyI18nStringTranslationWebTestCase::testI18nStringTranslation in tests/language_hierarchy.test
Adds a language and tests i18n_string translation by users with the appropriate permissions.
LanguageHierarchyStringTranslationWebTestCase::testStringTranslation in tests/language_hierarchy.test
Adds a language and tests string translation by users with the appropriate permissions.

File

tests/language_hierarchy.test, line 276
Tests for Language Hierarchy module.

Class

LanguageHierarchyBaseTestCase
Base class for Language Hierarchy module tests.

Code

public function loginTranslatorUser() {
  $this
    ->drupalLogin($this
    ->getTranslatorUser());
}