only in patch2: unchanged: --- a/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php @@ -19,6 +19,14 @@ class ModuleTest extends ViewUnitTestBase { */ public static $testViews = array('test_view_status'); + /** + * Modules to enable. We have to enable the node module in addition to those + * enabled by \Drupal\views\Tests\ViewUnitTestBase. + * + * @var array + */ + public static $modules = array('views', 'views_test_config', 'views_test_data', 'node'); + public static function getInfo() { return array( 'name' => 'Views Module tests', @@ -28,6 +36,14 @@ public static function getInfo() { } /** + * Sets up the default configuration of the node module. + */ + protected function setUpFixtures() { + parent::setUpFixtures(); + $this->installConfig(array('node')); + } + + /** * Tests the views_get_handler method. */ function testviews_get_handler() {