Mercurial > hg > cmmr2012-drupal-site
diff core/modules/rest/src/Tests/RESTTestBase.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/rest/src/Tests/RESTTestBase.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/rest/src/Tests/RESTTestBase.php Thu May 09 15:34:47 2019 +0100 @@ -2,6 +2,8 @@ namespace Drupal\rest\Tests; +@trigger_error(__NAMESPACE__ . '\RESTTestBase is deprecated in Drupal 8.3.x-dev and will be removed before Drupal 9.0.0. Use \Drupal\Tests\rest\Functional\ResourceTestBase and \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase instead. Only retained for contributed module tests that may be using this base class.', E_USER_DEPRECATED); + use Drupal\Component\Utility\NestedArray; use Drupal\Core\Config\Entity\ConfigEntityType; use Drupal\node\NodeInterface; @@ -13,7 +15,11 @@ /** * Test helper class that provides a REST client method to send HTTP requests. * - * @deprecated in Drupal 8.3.x-dev and will be removed before Drupal 9.0.0. Use \Drupal\Tests\rest\Functional\ResourceTestBase and \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase instead. Only retained for contributed module tests that may be using this base class. + * @deprecated in Drupal 8.3.x-dev and will be removed before Drupal 9.0.0. Use + * \Drupal\Tests\rest\Functional\ResourceTestBase and + * \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase + * instead. Only retained for contributed module tests that may be using this + * base class. */ abstract class RESTTestBase extends WebTestBase {