protected function LingotekTestBase::setUp in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 4.0.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.0.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.1.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.2.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.3.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.4.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.5.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.6.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
- 3.8.x tests/src/Functional/LingotekTestBase.php \Drupal\Tests\lingotek\Functional\LingotekTestBase::setUp()
Overrides BrowserTestBase::setUp
122 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 - LingotekConfigBulkFormTest::setUp in tests/
src/ Functional/ Form/ LingotekConfigBulkFormTest.php - LingotekConfigBulkProfileTest::setUp in tests/
src/ Functional/ LingotekConfigBulkProfileTest.php
122 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 - LingotekConfigBulkFormTest::setUp in tests/
src/ Functional/ Form/ LingotekConfigBulkFormTest.php - LingotekConfigBulkProfileTest::setUp in tests/
src/ Functional/ LingotekConfigBulkProfileTest.php
File
- tests/
src/ Functional/ LingotekTestBase.php, line 55
Class
- LingotekTestBase
- Base class for Lingotek test. Performs authorization of the account.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Login as admin.
$this
->drupalLogin($this->rootUser);
$this
->connectToLingotek();
$this->client = $this
->getHttpClient();
$this
->createTranslationManagerUser();
}