X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fblock_content%2Fsrc%2FTests%2FViews%2FBlockContentTestBase.php;fp=web%2Fcore%2Fmodules%2Fblock_content%2Fsrc%2FTests%2FViews%2FBlockContentTestBase.php;h=3ea2dba06cfb846248ebacccfef2a8c0107dc662;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hp=db665c9e45ce4e7edeb346a975370aa9d8790584;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a;p=yaffs-website diff --git a/web/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php b/web/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php index db665c9e4..3ea2dba06 100644 --- a/web/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php +++ b/web/core/modules/block_content/src/Tests/Views/BlockContentTestBase.php @@ -2,6 +2,8 @@ namespace Drupal\block_content\Tests\Views; +@trigger_error('\Drupal\block_content\Tests\Views\BlockContentTestBase is deprecated in 8.4.0 and will be removed before Drupal 9.0.0. Use \Drupal\Tests\block_content\Functional\Views\BlockContentTestBase.', E_USER_DEPRECATED); + use Drupal\block_content\Entity\BlockContent; use Drupal\block_content\Entity\BlockContentType; use Drupal\Component\Utility\SafeMarkup; @@ -10,6 +12,9 @@ use Drupal\views\Tests\ViewTestData; /** * Base class for all block_content tests. + * + * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. + * Use \Drupal\Tests\block_content\Functional\Views\BlockContentTestBase. */ abstract class BlockContentTestBase extends ViewTestBase {