Mercurial > hg > cmmr2012-drupal-site
diff core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
line wrap: on
line diff
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php Thu Feb 28 13:11:55 2019 +0000 @@ -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 @@ */ 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