protected function AvatarKitManagerTest::setUp in Avatar Kit 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ AvatarKitManagerTest.php, line 44
Class
- AvatarKitManagerTest
- Tests Avatar Manager.
Namespace
Drupal\Tests\avatars\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('system', 'sequences');
$this->avatarManager = $this->container
->get('avatars.avatar_manager');
// Create uid=1, so sequential created users do not get all access.
$this
->createUser();
}