public function CardinalityTest::setUp in Entity Browser 8
Same name and namespace in other branches
- 8.2 tests/src/FunctionalJavascript/CardinalityTest.php \Drupal\Tests\entity_browser\FunctionalJavascript\CardinalityTest::setUp()
Overrides EntityBrowserWebDriverTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ CardinalityTest.php, line 35
Class
- CardinalityTest
- Tests the Cardinality handling.
Namespace
Drupal\Tests\entity_browser\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
/** @var \Drupal\user\RoleInterface $role */
$role = Role::load('authenticated');
$this
->grantPermissions($role, [
'access cardinality entity browser pages',
'bypass node access',
'administer node form display',
'access content',
]);
}