Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / FunctionalTests / Update / UpdatePathTestBaseTest.php
index a375db7e8c8750de4e900259e0f7779c45263236..45885dd086c3774e49e32d68b60fc6edee54fde3 100644 (file)
@@ -3,12 +3,13 @@
 namespace Drupal\FunctionalTests\Update;
 
 use Drupal\Component\Utility\Html;
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Render\FormattableMarkup;
 
 /**
  * Tests the update path base class.
  *
  * @group Update
+ * @group legacy
  */
 class UpdatePathTestBaseTest extends UpdatePathTestBase {
 
@@ -32,7 +33,7 @@ class UpdatePathTestBaseTest extends UpdatePathTestBase {
    */
   public function testDatabaseLoaded() {
     foreach (['user', 'node', 'system', 'update_test_schema'] as $module) {
-      $this->assertEqual(drupal_get_installed_schema_version($module), 8000, SafeMarkup::format('Module @module schema is 8000', ['@module' => $module]));
+      $this->assertEqual(drupal_get_installed_schema_version($module), 8000, new FormattableMarkup('Module @module schema is 8000', ['@module' => $module]));
     }
 
     // Ensure that all {router} entries can be unserialized. If they cannot be