public function ConfigEntityTrackingTest::setUp in Entity Usage 8.2
Same name and namespace in other branches
- 8.4 tests/src/FunctionalJavascript/ConfigEntityTrackingTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\ConfigEntityTrackingTest::setUp()
- 8.3 tests/src/FunctionalJavascript/ConfigEntityTrackingTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\ConfigEntityTrackingTest::setUp()
Overrides EntityUsageJavascriptTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ ConfigEntityTrackingTest.php, line 43
Class
- ConfigEntityTrackingTest
- Tests tracking of config entities.
Namespace
Drupal\Tests\entity_usage\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
/** @var \Drupal\user\RoleInterface $role */
$role = Role::load('authenticated');
$this
->grantPermissions($role, [
'access entity usage statistics',
'administer blocks',
'administer entity usage',
'administer views',
'administer webform',
]);
}