diff -u b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php --- b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php +++ b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php @@ -65,7 +65,7 @@ // Check that the block exists in the database. $blocks = \Drupal::entityTypeManager() ->getStorage('block_content') - ->loadByProperties('block_content', ['info' => $edit['info[0][value]']]); + ->loadByProperties(['info' => $edit['info[0][value]']]); $block = reset($blocks); $this->assertTrue($block, 'Custom Block found in database.'); @@ -147,7 +147,7 @@ // Check that the block exists in the database. $blocks = \Drupal::entityTypeManager() ->getStorage('block_content') - ->loadByProperties('block_content', ['info' => $edit['info[0][value]']]); + ->loadByProperties(['info' => $edit['info[0][value]']]); $block = reset($blocks); $this->assertTrue($block, 'Custom Block found in database.'); @@ -184,7 +184,7 @@ // Check that the block exists in the database. $blocks = \Drupal::entityTypeManager() ->getStorage('block_content') - ->loadByProperties('block_content', ['info' => $edit['info[0][value]']]); + ->loadByProperties(['info' => $edit['info[0][value]']]); $block = reset($blocks); $this->assertTrue($block, 'Default Custom Block found in database.'); }