You are here

function TMGMTTestBase::setUp in Translation Management Tool 8

Same name in this branch
  1. 8 src/Tests/TMGMTTestBase.php \Drupal\tmgmt\Tests\TMGMTTestBase::setUp()
  2. 8 tests/src/Functional/TMGMTTestBase.php \Drupal\Tests\tmgmt\Functional\TMGMTTestBase::setUp()

Overrides DrupalWebTestCase::setUp()

Overrides BrowserTestBase::setUp

18 calls to TMGMTTestBase::setUp()
ConfigSourceListTest::setUp in sources/tmgmt_config/tests/src/Functional/ConfigSourceListTest.php
Overrides DrupalWebTestCase::setUp()
ConfigSourceUiTest::setUp in sources/tmgmt_config/tests/src/Functional/ConfigSourceUiTest.php
Overrides DrupalWebTestCase::setUp()
ContentEntitySourceContentModerationTest::setUp in sources/content/tests/src/Functional/ContentEntitySourceContentModerationTest.php
Overrides DrupalWebTestCase::setUp()
ContentEntitySourceTranslatableEntityTest::setUp in sources/content/tests/src/Functional/ContentEntitySourceTranslatableEntityTest.php
Overrides DrupalWebTestCase::setUp()
ContentTmgmtEntitySourceListTest::setUp in sources/content/tests/src/Functional/ContentTmgmtEntitySourceListTest.php
Overrides DrupalWebTestCase::setUp()

... See full list

18 methods override TMGMTTestBase::setUp()
ConfigSourceListTest::setUp in sources/tmgmt_config/tests/src/Functional/ConfigSourceListTest.php
Overrides DrupalWebTestCase::setUp()
ConfigSourceUiTest::setUp in sources/tmgmt_config/tests/src/Functional/ConfigSourceUiTest.php
Overrides DrupalWebTestCase::setUp()
ContentEntitySourceContentModerationTest::setUp in sources/content/tests/src/Functional/ContentEntitySourceContentModerationTest.php
Overrides DrupalWebTestCase::setUp()
ContentEntitySourceTranslatableEntityTest::setUp in sources/content/tests/src/Functional/ContentEntitySourceTranslatableEntityTest.php
Overrides DrupalWebTestCase::setUp()
ContentTmgmtEntitySourceListTest::setUp in sources/content/tests/src/Functional/ContentTmgmtEntitySourceListTest.php
Overrides DrupalWebTestCase::setUp()

... See full list

File

tests/src/Functional/TMGMTTestBase.php, line 43

Class

TMGMTTestBase
Base class for tests.

Namespace

Drupal\Tests\tmgmt\Functional

Code

function setUp() : void {
  parent::setUp();
  $this->default_translator = Translator::load('test_translator');
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
  $this
    ->drupalPlaceBlock('page_title_block');
}