/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installConfig(array('filter', 'node')); $node_type = NodeType::create(['type' => 'article', 'name' => 'Article']); $node_type->save(); node_add_body_field($node_type); }
/** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // Set the site name to something other than an empty string. $this->config('system.site')->set('name', 'Drupal')->save(); }