/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     EnhancedEntityBundle::create(['id' => 'default', 'label' => 'Default'])->save();
     $this->account = $this->drupalCreateUser(['administer entity_test_enhanced']);
     $this->drupalLogin($this->account);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     EnhancedEntityBundle::create(['id' => 'first', 'label' => 'First', 'description' => 'The first bundle'])->save();
     $account = $this->drupalCreateUser(['administer entity_test_enhanced']);
     $this->drupalLogin($account);
 }
 /**
  * {@inheritdoc}
  */
 protected function drupalGet($path, array $options = [])
 {
     $result = parent::drupalGet($path);
     $this->processHeaderErrors();
     return $result;
 }