diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php index 96fd137..65e685e 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php @@ -19,7 +19,7 @@ class NodeCreationTest extends NodeTestBase { * * @var array */ - public static $modules = array('node_test_exception', 'dblog'); + public static $modules = array('node_test_exception', 'dblog', 'test_page_test'); public static function getInfo() { return array( @@ -101,7 +101,6 @@ function testFailedPageCreation() { */ function testUnpublishedNodeCreation() { // Set the front page to the default "node" page. - module_enable(array('test_page_test')); config('system.site')->set('page.front', 'test-page')->save(); // Set "Basic page" content type to be unpublished by default.