diff -u b/core/modules/block/src/Tests/BlockTest.php b/core/modules/block/src/Tests/BlockTest.php --- b/core/modules/block/src/Tests/BlockTest.php +++ b/core/modules/block/src/Tests/BlockTest.php @@ -485,8 +485,8 @@ * Tests block_node_type_delete. */ public function testBlockNodeTypeDelete() { - $node_type1 = $this->drupalCreateContentType(['type' => 'node_type1']); - $node_type2 = $this->drupalCreateContentType(['type' => 'node_type2']); + $node_type1 = $this->drupalCreateContentType(); + $node_type2 = $this->drupalCreateContentType(); $block = Block::create([ 'id' => $this->randomMachineName(), only in patch2: unchanged: --- a/core/modules/block/src/Tests/BlockTestBase.php +++ b/core/modules/block/src/Tests/BlockTestBase.php @@ -19,7 +19,7 @@ * * @var array */ - public static $modules = array('block', 'filter', 'test_page_test', 'help', 'block_test'); + public static $modules = array('block', 'filter', 'test_page_test', 'help', 'block_test', 'node'); /** * A list of theme regions to test.