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).

function TMGMTUiContinuousTest::setUp

Overrides DrupalWebTestCase::setUp()

Overrides TMGMTTestBase::setUp

File

tests/src/Functional/TMGMTUiContinuousTest.php, line 23

Class

TMGMTUiContinuousTest
Verifies continuous functionality of the user interface

Namespace

Drupal\Tests\tmgmt\Functional

Code

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

  // Login as admin to be able to set environment variables.
  $this
    ->loginAsAdmin([
    'translate any entity',
    'create content translations',
  ]);
  $this
    ->addLanguage('de');
  $this
    ->addLanguage('es');
  $this
    ->drupalPlaceBlock('system_breadcrumb_block');
  $this
    ->createNodeType('page', 'Page', TRUE);
  $this
    ->createNodeType('article', 'Article', TRUE);
}