You are here

public function LanguageHierarchyBaseTestCase::loginAdminUser in Language Hierarchy 7

Log in as admin user.

6 calls to LanguageHierarchyBaseTestCase::loginAdminUser()
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.
LanguageHierarchyI18nVariableTranslationWebTestCase::testI18nVariableTranslation in modules/i18n_variable_hierarchy/i18n_variable_hierarchy.test
Test translating a variable, with hierarchy.
LanguageHierarchyI18nVariableTranslationWebTestCase::testVariableUITranslation in modules/i18n_variable_hierarchy/i18n_variable_hierarchy.test
Test translating a variable, with hierarchy.
LanguageHierarchyStringTranslationWebTestCase::testStringTranslation in tests/language_hierarchy.test
Adds a language and tests string translation by users with the appropriate permissions.

... See full list

File

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

Class

LanguageHierarchyBaseTestCase
Base class for Language Hierarchy module tests.

Code

public function loginAdminUser() {
  $this
    ->drupalLogin($this
    ->getAdminUser());
}