/**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installSchema('system', ['sequences']);
     $this->installEntitySchema('user');
     $this->installEntitySchema('node');
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->rulesUiManager = $this->container->get('plugin.manager.rules_ui');
     $this->installConfig(['system']);
     $this->installConfig(['rules_test_ui_embed']);
     $this->installSchema('system', ['sequences']);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     // Drupal 8.0.x needs the router table installed which is done automatically
     // in Drupal 8.1.x. Remove this once Drupal 8.0.x is unsupported.
     if (!empty(drupal_get_module_schema('system', 'router'))) {
         $this->installSchema('system', ['router']);
         $this->container->get('router.builder')->rebuild();
     }
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installSchema('system', ['sequences']);
     $this->installEntitySchema('user');
     $this->installEntitySchema('node');
     $this->installConfig(['field']);
     $entity_type_manager = $this->container->get('entity_type.manager');
     $entity_type_manager->getStorage('node_type')->create(['type' => 'page'])->save();
     FieldStorageConfig::create(['field_name' => 'field_text', 'type' => 'string', 'entity_type' => 'node', 'cardinality' => 1])->save();
     FieldConfig::create(['field_name' => 'field_text', 'entity_type' => 'node', 'bundle' => 'page'])->save();
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installSchema('system', ['sequences']);
     $this->installEntitySchema('user');
     $this->installEntitySchema('node');
     $this->installConfig(['field']);
     $this->storage = $this->container->get('entity_type.manager')->getStorage('rules_reaction_rule');
     $entity_type_manager = $this->container->get('entity_type.manager');
     $entity_type_manager->getStorage('node_type')->create(['type' => 'page'])->save();
     FieldStorageConfig::create(['field_name' => 'field_integer', 'type' => 'integer', 'entity_type' => 'node', 'cardinality' => FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED])->save();
     FieldConfig::create(['field_name' => 'field_integer', 'entity_type' => 'node', 'bundle' => 'page'])->save();
     $this->node = $entity_type_manager->getStorage('node')->create(['title' => 'test', 'type' => 'page']);
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->storage = $this->container->get('entity_type.manager')->getStorage('rules_component');
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installSchema('system', ['router', 'url_alias']);
     $this->container->get('router.builder')->rebuild();
 }
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->installEntitySchema('user');
 }