Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).

function TMGMTTestBase::setUp

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

Overrides DrupalWebTestCase::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');
}