/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->installEntitySchema('taxonomy_vocabulary');
     $this->installEntitySchema('taxonomy_term');
     $this->installConfig(['taxonomy']);
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->installEntitySchema('taxonomy_vocabulary');
     $this->installEntitySchema('taxonomy_term');
     $this->installConfig(['taxonomy']);
     // Set up two vocabularies (taxonomy bundles).
     Vocabulary::create(['vid' => 'tags', 'name' => 'Tags']);
     Vocabulary::create(['vid' => 'categories', 'name' => 'Categories']);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installSchema('system', ['sequences']);
     $this->installSchema('node', array('node_access'));
     $this->installEntitySchema('user');
     $this->installEntitySchema('node');
     // Create some languages.
     ConfigurableLanguage::createFromLangcode('en')->save();
     ConfigurableLanguage::createFromLangcode('fr')->save();
     ConfigurableLanguage::createFromLangcode('es')->save();
     // Create a content type.
     NodeType::create(['type' => 'external_test', 'name' => 'Test node type'])->save();
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     // Make sure the admin user and a regular user are created.
     $this->container->get('module_handler')->loadInclude('user', 'install');
     $this->installEntitySchema('user');
     user_install();
     /** @var \Drupal\user\Entity\User $admin_account */
     $admin_account = User::load(1);
     $admin_account->setPassword('original');
     $admin_account->save();
     $this->originalPasswords[1] = $admin_account->getPassword();
     /** @var \Drupal\user\Entity\User $user_account */
     $user_account = User::create(['uid' => 2, 'name' => 'original_username', 'mail' => '*****@*****.**', 'pass' => 'original_password']);
     $user_account->save();
     $this->originalPasswords[2] = $user_account->getPassword();
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->installEntitySchema('user');
     $this->installConfig(['migrate_drupal', 'system']);
 }