/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('shortcut'); // Make sure the 'default' shortcut_set is installed. $this->installConfig(['shortcut']); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('node'); // Need at least one node type present. NodeType::create(['type' => 'testnodetype', 'name' => 'Test node type'])->save(); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installSchema('system', array('router')); $this->installEntitySchema('redirect'); $this->loadFixture(__DIR__ . '/../../../../../tests/fixtures/drupal6.php'); $this->executeMigrations(['d6_path_redirect']); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('comment'); $this->installEntitySchema('node'); // Make sure uid 0 is created (default uid for comments is 0). $storage = \Drupal::entityManager()->getStorage('user'); // Insert a row for the anonymous user. $storage->create(array('uid' => 0, 'status' => 0, 'name' => ''))->save(); // Need at least one node type and comment type present. NodeType::create(['type' => 'testnodetype', 'name' => 'Test node type'])->save(); CommentType::create(['id' => 'testcommenttype', 'label' => 'Test comment type', 'target_entity_type_id' => 'node'])->save(); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('menu_link_content'); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->loadFixture(__DIR__ . '/../../../fixtures/drupal6.php'); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('taxonomy_term'); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('aggregator_feed'); $this->installEntitySchema('aggregator_item'); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('file'); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->loadFixture($this->getFixtureFilePath()); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installEntitySchema('user'); $this->installSchema('system', ['sequences']); }