/** * Overrides \Drupal\simpletest\WebTestBase::setUp(). */ protected function setUp() { $this->entityTypeId = 'block_content'; $this->bundle = 'basic'; $this->testLanguageSelector = FALSE; parent::setUp(); }
/** * Overrides \Drupal\simpletest\WebTestBase::setUp(). */ protected function setUp() { $this->entityTypeId = 'block_content'; $this->bundle = 'basic'; $this->testLanguageSelector = FALSE; parent::setUp(); $this->drupalPlaceBlock('page_title_block'); }
protected function setUp() { $this->entityTypeId = 'user'; $this->testLanguageSelector = FALSE; $this->name = $this->randomMachineName(); parent::setUp(); \Drupal::entityManager()->getStorage('user')->resetCache(); }
protected function setUp() { $this->entityTypeId = 'comment'; $this->nodeBundle = 'article'; $this->bundle = 'comment_article'; $this->testLanguageSelector = FALSE; $this->subject = $this->randomMachineName(); parent::setUp(); }
protected function setUp() { $this->entityTypeId = 'node'; $this->bundle = 'article'; parent::setUp(); // Ensure the help message is shown even with prefixed paths. $this->drupalPlaceBlock('help_block', array('region' => 'content')); // Display the language selector. $this->drupalLogin($this->administrator); $edit = array('language_configuration[language_alterable]' => TRUE); $this->drupalPostForm('admin/structure/types/manage/article', $edit, t('Save content type')); $this->drupalLogin($this->translator); }
/** * {@inheritdoc} */ protected function setUp() { $this->entityTypeId = 'shortcut'; $this->bundle = 'default'; parent::setUp(); }
/** * {@inheritdoc} */ protected function setUp() { $this->entityTypeId = 'menu_link_content'; $this->bundle = 'menu_link_content'; parent::setUp(); }
protected function setUp() { $this->entityTypeId = 'taxonomy_term'; $this->bundle = 'tags'; parent::setUp(); }