summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal
diff options
context:
space:
mode:
authorNathaniel Catchpole2018-05-01 15:14:09 (GMT)
committerNathaniel Catchpole2018-05-01 15:14:09 (GMT)
commit45bc05523f1b1adf0962a5b2947edb8cdec9371d (patch)
treea31e26b2c91075ef9c89a157fa0380eae4c1e8e9 /core/modules/migrate_drupal
parent2e8be78f7f54c3a2949780b9b1ed30e27ef5874a (diff)
Issue #2958429 by alexpott: Properly deprecate SafeMarkup::format()
Diffstat (limited to 'core/modules/migrate_drupal')
-rw-r--r--core/modules/migrate_drupal/tests/src/Kernel/dependencies/MigrateDependenciesTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/migrate_drupal/tests/src/Kernel/dependencies/MigrateDependenciesTest.php b/core/modules/migrate_drupal/tests/src/Kernel/dependencies/MigrateDependenciesTest.php
index 1a30489..3fa0056 100644
--- a/core/modules/migrate_drupal/tests/src/Kernel/dependencies/MigrateDependenciesTest.php
+++ b/core/modules/migrate_drupal/tests/src/Kernel/dependencies/MigrateDependenciesTest.php
@@ -2,7 +2,7 @@
namespace Drupal\Tests\migrate_drupal\Kernel\dependencies;
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Render\FormattableMarkup;
use Drupal\migrate\MigrateExecutable;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
@@ -67,7 +67,7 @@ class MigrateDependenciesTest extends MigrateDrupal6TestBase {
$executable = new MigrateExecutable($migration, $this);
$this->startCollectingMessages();
$executable->import();
- $this->assertEqual($this->migrateMessages['error'], [SafeMarkup::format('Migration @id did not meet the requirements. Missing migrations d6_aggregator_feed. requirements: d6_aggregator_feed.', ['@id' => $migration->id()])]);
+ $this->assertEqual($this->migrateMessages['error'], [new FormattableMarkup('Migration @id did not meet the requirements. Missing migrations d6_aggregator_feed. requirements: d6_aggregator_feed.', ['@id' => $migration->id()])]);
$this->collectMessages = FALSE;
}