Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / migrate_drupal / tests / src / Kernel / d6 / EntityContentBaseTest.php
index 6be7801b6e2fd2148ae6a7a89e527bf5536fda0e..db44c6345058076a553c9cde0935f81d4b0a49ec 100644 (file)
@@ -115,7 +115,7 @@ class EntityContentBaseTest extends MigrateDrupal6TestBase {
     // Match the expected message. Can't use default argument types, because
     // we need to convert to string from TranslatableMarkup.
     $argument = Argument::that(function ($msg) {
-      return strpos((string) $msg, "This entity type does not support translation") !== FALSE;
+      return strpos((string) $msg, htmlentities('The "no_language_entity_test" entity type does not support translations.')) !== FALSE;
     });
     $message->display($argument, Argument::any())
       ->shouldBeCalled();