Mercurial > hg > isophonics-drupal-site
diff core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children | af1871eacc83 |
line wrap: on
line diff
--- a/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php Thu Feb 28 13:21:36 2019 +0000 @@ -2,7 +2,6 @@ namespace Drupal\Tests\image\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\field\Entity\FieldConfig; use Drupal\file\Entity\File; @@ -369,13 +368,13 @@ */ public function testInvalidDefaultImage() { $field_storage = FieldStorageConfig::create([ - 'field_name' => Unicode::strtolower($this->randomMachineName()), + 'field_name' => mb_strtolower($this->randomMachineName()), 'entity_type' => 'node', 'type' => 'image', 'settings' => [ 'default_image' => [ 'uuid' => 100000, - ] + ], ], ]); $field_storage->save(); @@ -390,7 +389,7 @@ 'settings' => [ 'default_image' => [ 'uuid' => 100000, - ] + ], ], ]); $field->save();