protected function UserImportUpdateExportTest::setUp in Acquia Content Hub 8.2
Throws
\Exception
Overrides ImportExportTestBase::setUp
File
- tests/
src/ Kernel/ UserImportUpdateExportTest.php, line 72
Class
- UserImportUpdateExportTest
- Tests user export, update, and import.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('user', [
'users_data',
]);
$this
->installSchema('acquia_contenthub_subscriber', 'acquia_contenthub_subscriber_import_tracking');
$this
->createUser([
'uuid' => 'b7a60b03-3ae2-4480-b261-f72021817346',
'name' => 'foo',
'mail' => 'foo@foo.com',
]);
$this->userData = $this->container
->get('user.data');
$this->entityRepository = $this->container
->get('entity.repository');
}