You are here

protected function LingotekTestBase::setUp in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  2. 3.0.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  3. 3.1.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  4. 3.2.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  5. 3.3.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  6. 3.4.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  7. 3.5.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  8. 3.6.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  9. 3.7.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
  10. 3.8.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()

Overrides BrowserTestBase::setUp

125 calls to LingotekTestBase::setUp()
ChineseBulkTranslationTest::setUp in tests/src/Functional/ChineseBulkTranslationTest.php
LingotekActionsTest::setUp in tests/src/Functional/Actions/LingotekActionsTest.php
LingotekBulkDeleteTest::setUp in tests/src/Functional/LingotekBulkDeleteTest.php
LingotekChangeAccountDefaultsTest::setUp in tests/src/Functional/LingotekChangeAccountDefaultsTest.php
LingotekConfigBulkFormTest::setUp in tests/src/Functional/Form/LingotekConfigBulkFormTest.php

... See full list

125 methods override LingotekTestBase::setUp()
ChineseBulkTranslationTest::setUp in tests/src/Functional/ChineseBulkTranslationTest.php
LingotekActionsTest::setUp in tests/src/Functional/Actions/LingotekActionsTest.php
LingotekBulkDeleteTest::setUp in tests/src/Functional/LingotekBulkDeleteTest.php
LingotekChangeAccountDefaultsTest::setUp in tests/src/Functional/LingotekChangeAccountDefaultsTest.php
LingotekConfigBulkFormTest::setUp in tests/src/Functional/Form/LingotekConfigBulkFormTest.php

... See full list

File

tests/src/Functional/LingotekTestBase.php, line 55

Class

LingotekTestBase
Base class for Lingotek test. Performs authorization of the account.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Login as admin.
  $this
    ->drupalLogin($this->rootUser);

  // $this->connectToLingotek();
  $this->client = $this
    ->getHttpClient();
  $this
    ->createTranslationManagerUser();
}