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 ConfigSourceUiTest::setUp

Overrides DrupalWebTestCase::setUp()

Overrides TMGMTTestBase::setUp

File

sources/tmgmt_config/tests/src/Functional/ConfigSourceUiTest.php, line 29

Class

ConfigSourceUiTest
Content entity source UI tests.

Namespace

Drupal\Tests\tmgmt_config\Functional

Code

function setUp() : void {
  parent::setUp();
  $this
    ->loginAsAdmin(array(
    'create translation jobs',
    'submit translation jobs',
    'accept translation jobs',
  ));
  $this
    ->addLanguage('de');
  $this
    ->addLanguage('it');
  $this
    ->addLanguage('es');
  $this
    ->addLanguage('el');
  $this
    ->createNodeType('article', 'Article', TRUE);
}