diff --git a/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php b/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php index 2a36463..065cdca 100644 --- a/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/Condition/NodeConditionTest.php @@ -27,6 +27,14 @@ public static function getInfo() { public function setUp() { parent::setUp(); $this->installSchema('node', array('node', 'node_field_data', 'node_field_revision', 'node_revision')); + + // Create the node bundles required for testing. + $type = entity_create('node_type', array('type' => 'page', 'name' => 'page')); + $type->save(); + $type = entity_create('node_type', array('type' => 'article', 'name' => 'article')); + $type->save(); + $type = entity_create('node_type', array('type' => 'test', 'name' => 'test')); + $type->save(); } /**