public function IntegrationTest::setUp in Entity Usage 8.4
Same name and namespace in other branches
- 8.2 tests/src/FunctionalJavascript/IntegrationTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\IntegrationTest::setUp()
- 8.3 tests/src/FunctionalJavascript/IntegrationTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\IntegrationTest::setUp()
Overrides EntityUsageJavascriptTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ IntegrationTest.php, line 35
Class
- IntegrationTest
- Basic functional tests for the usage tracking.
Namespace
Drupal\Tests\entity_usage\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
$account = $this
->drupalCreateUser([
'administer node fields',
'administer node display',
'administer nodes',
'bypass node access',
'use text format eu_test_text_format',
'administer entity usage',
]);
$this
->drupalLogin($account);
}