diff --git a/core/modules/node/src/Tests/Views/BulkFormAccessTest.php b/core/modules/node/src/Tests/Views/BulkFormAccessTest.php index 383f9de..d0cf35c 100644 --- a/core/modules/node/src/Tests/Views/BulkFormAccessTest.php +++ b/core/modules/node/src/Tests/Views/BulkFormAccessTest.php @@ -91,7 +91,7 @@ public function testNodeEditAccess() { 'action' => 'node_unpublish_action', ); $this->drupalPostForm('test-node-bulk-form', $edit, t('Apply')); - $this->assertText(String::format('No access execute %action on the @entity_type_label %entity_label', [ + $this->assertRaw(String::format('No access to execute %action on the @entity_type_label %entity_label.', [ '%action' => 'Unpublish content', '@entity_type_label' => 'Content', '%entity_label' => $node->label(),