* Tests the Drupal 6 custom block to Drupal 8 migration.
*/
public function testBlockMigration() {
- /** @var BlockContent $block */
+ /** @var \Drupal\block_content\Entity\BlockContent $block */
$block = BlockContent::load(1);
$this->assertIdentical('My block 1', $block->label());
$this->assertTrue(REQUEST_TIME <= $block->getChangedTime() && $block->getChangedTime() <= time());