protected function DelegatableRolesTest::setUp in Role Delegation 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ DelegatableRolesTest.php, line 35
Class
- DelegatableRolesTest
- @coversDefaultClass \Drupal\role_delegation\DelegatableRoles
Namespace
Drupal\Tests\role_delegation\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installSchema('system', 'sequences');
$this
->installEntitySchema('user');
$this->delegatableRoles = $this->container
->get('delegatable_roles');
// User 1 is still a super user so we create that user first so moving
// forward we're just using normal users.
$this
->createUser();
}