summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Rowlands2017-09-05 21:09:21 (GMT)
committerLee Rowlands2017-09-05 21:09:21 (GMT)
commitf47a9ed9803954687de55f74565dee7f8723d524 (patch)
tree973e36551c4512cae642b3498bc3136c09bb1c34
parent7ba77154a04250e6707f1dff2dbe596c1ba582f5 (diff)
Issue #2863644 by Lendude, zviryatko, Manuel Garcia, Jo Fitzgerald: Convert web tests of block
-rw-r--r--core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php b/core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
index 17244ff..ef3ebef 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 @@ trait AssertBlockAppearsTrait {
*/
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()]));
}
/**