You are here

protected function TmgmtSmartlingLogSettingsTest::setUp in TMGMT Translator Smartling 8.4

Same name in this branch
  1. 8.4 modules/tmgmt_smartling_log_settings/tests/src/Functional/TmgmtSmartlingLogSettingsTest.php \Drupal\Tests\tmgmt_smartling_log_settings\Functional\TmgmtSmartlingLogSettingsTest::setUp()
  2. 8.4 modules/tmgmt_smartling_log_settings/tests/src/Kernel/TmgmtSmartlingLogSettingsTest.php \Drupal\Tests\tmgmt_smartling_log_settings\Kernel\TmgmtSmartlingLogSettingsTest::setUp()
Same name and namespace in other branches
  1. 8.3 modules/tmgmt_smartling_log_settings/tests/src/Functional/TmgmtSmartlingLogSettingsTest.php \Drupal\Tests\tmgmt_smartling_log_settings\Functional\TmgmtSmartlingLogSettingsTest::setUp()

Overrides BrowserTestBase::setUp

File

modules/tmgmt_smartling_log_settings/tests/src/Functional/TmgmtSmartlingLogSettingsTest.php, line 31

Class

TmgmtSmartlingLogSettingsTest
Tests TmgmtSmartlingLogSettingsTest settings.

Namespace

Drupal\Tests\tmgmt_smartling_log_settings\Functional

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($admin_user);
}