diff --git a/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php b/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php index 17244ff5de1adf7080e2b31f0b7dae0a27b28787..ef3ebef2f6050e7333eccd41a76cecdc59399700 100644 --- a/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php +++ b/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php @@ -20,7 +20,7 @@ trait AssertBlockAppearsTrait { */ protected function assertBlockAppears(Block $block) { $result = $this->findBlockInstance($block); - $this->assertTrue(!empty($result), new FormattableMarkup('Ensure the block @id appears on the page', ['@id' => $block->id()])); + $this->assertTrue(!empty($result), new FormattableMarkup('The block @id appears on the page', ['@id' => $block->id()])); } /** @@ -31,7 +31,7 @@ protected function assertBlockAppears(Block $block) { */ protected function assertNoBlockAppears(Block $block) { $result = $this->findBlockInstance($block); - $this->assertFalse(!empty($result), new FormattableMarkup('Ensure the block @id does not appear on the page', ['@id' => $block->id()])); + $this->assertFalse(!empty($result), new FormattableMarkup('The block @id does not appear on the page', ['@id' => $block->id()])); } /**