Mercurial > hg > cmmr2012-drupal-site
diff core/modules/rest/src/Tests/RESTTestBase.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/modules/rest/src/Tests/RESTTestBase.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/modules/rest/src/Tests/RESTTestBase.php Thu Feb 28 13:11:55 2019 +0000 @@ -383,7 +383,7 @@ $resource_config = $this->resourceConfigStorage->create([ 'id' => $resource_config_id, 'granularity' => RestResourceConfigInterface::METHOD_GRANULARITY, - 'configuration' => [] + 'configuration' => [], ]); } $configuration = $resource_config->get('configuration'); @@ -562,7 +562,7 @@ * The first value to check. * @param $message * (optional) A message to display with the assertion. Do not translate - * messages: use \Drupal\Component\Utility\SafeMarkup::format() to embed + * messages: use \Drupal\Component\Render\FormattableMarkup to embed * variables in the message text, not t(). If left blank, a default message * will be displayed. * @param $group