X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fdatetime%2Fsrc%2FTests%2FViews%2FDateTimeHandlerTestBase.php;fp=web%2Fcore%2Fmodules%2Fdatetime%2Fsrc%2FTests%2FViews%2FDateTimeHandlerTestBase.php;h=0f068ab9ee0d0c268f3521fd0fc2cd9265452dbf;hp=42f309d6d772d7e8abd68bff53a56347f0414196;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php b/web/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php index 42f309d6d..0f068ab9e 100644 --- a/web/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php +++ b/web/core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php @@ -2,6 +2,8 @@ namespace Drupal\datetime\Tests\Views; +@trigger_error('\Drupal\datetime\Tests\Views\DateTimeHandlerTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\BrowserTestBase', E_USER_DEPRECATED); + use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem; use Drupal\field\Entity\FieldConfig; use Drupal\node\Entity\NodeType; @@ -11,6 +13,9 @@ use Drupal\field\Entity\FieldStorageConfig; /** * Base class for testing datetime handlers. + * + * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. + * Use \Drupal\Tests\BrowserTestBase. */ abstract class DateTimeHandlerTestBase extends HandlerTestBase {