X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fimage%2Fsrc%2FTests%2FImageFieldTestBase.php;fp=web%2Fcore%2Fmodules%2Fimage%2Fsrc%2FTests%2FImageFieldTestBase.php;h=a1611cb3522df5732de4031722cf2e846b6eac44;hp=0623b6e92f6c0db039bf335cf99c0807cacc6088;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/image/src/Tests/ImageFieldTestBase.php b/web/core/modules/image/src/Tests/ImageFieldTestBase.php index 0623b6e92..a1611cb35 100644 --- a/web/core/modules/image/src/Tests/ImageFieldTestBase.php +++ b/web/core/modules/image/src/Tests/ImageFieldTestBase.php @@ -2,17 +2,20 @@ namespace Drupal\image\Tests; +@trigger_error('The ' . __NAMESPACE__ . '\ImageFieldTestBase class is deprecated in Drupal 8.5.x and will be removed before Drupal 9.0.0. Use \Drupal\Tests\image\Functional\ImageFieldTestBase instead. See https://www.drupal.org/node/2863626.', E_USER_DEPRECATED); + use Drupal\Tests\image\Kernel\ImageFieldCreationTrait; use Drupal\simpletest\WebTestBase; /** * TODO: Test the following functions. * - * image.effects.inc: + * In file: + * - image.effects.inc: * image_style_generate() * \Drupal\image\ImageStyleInterface::createDerivative() * - * image.module: + * - image.module: * image_style_options() * \Drupal\image\ImageStyleInterface::flush() * image_filter_keyword()