diff -u b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php --- b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SafeMarkupTest.php @@ -67,21 +67,11 @@ * Data provider for testSet(). */ public function providerSet() { - // Checks that invalid multi-byte sequences are escaped. - $tests[] = array( - 'Foo�barbaz', - 'Invalid sequence "Foo\xC0barbaz" is escaped', - TRUE - ); $tests[] = array( "Fooÿñ", - 'SafeMarkup::set() does not escape valid sequence "Fooÿñ"' - ); - $tests[] = array( - new TextWrapper("Fooÿñ"), - 'SafeMarkup::set() does not escape valid sequence "Fooÿñ" in an object implementing __toString()' + 'SafeMarkup::setMultiple() does not escape valid sequence "Fooÿñ"' ); - $tests[] = array("