projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
field
/
tests
/
src
/
Functional
/
Boolean
/
BooleanFieldTest.php
diff --git
a/web/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
b/web/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
index af3ffc7d9befdca0f91d38044098c01e16847244..b1d7ab529854f704de651b6f43be444aaa025bd8 100644
(file)
--- a/
web/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
+++ b/
web/core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
@@
-2,7
+2,6
@@
namespace Drupal\Tests\field\Functional\Boolean;
namespace Drupal\Tests\field\Functional\Boolean;
-use Drupal\Component\Utility\Unicode;
use Drupal\entity_test\Entity\EntityTest;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\field\Entity\FieldConfig;
use Drupal\entity_test\Entity\EntityTest;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\field\Entity\FieldConfig;
@@
-64,7
+63,7
@@
class BooleanFieldTest extends BrowserTestBase {
$label = $this->randomMachineName();
// Create a field with settings to validate.
$label = $this->randomMachineName();
// Create a field with settings to validate.
- $field_name =
Unicode::
strtolower($this->randomMachineName());
+ $field_name =
mb_
strtolower($this->randomMachineName());
$this->fieldStorage = FieldStorageConfig::create([
'field_name' => $field_name,
'entity_type' => 'entity_test',
$this->fieldStorage = FieldStorageConfig::create([
'field_name' => $field_name,
'entity_type' => 'entity_test',
@@
-123,7
+122,7
@@
class BooleanFieldTest extends BrowserTestBase {
'type' => 'boolean_checkbox',
'settings' => [
'display_label' => FALSE,
'type' => 'boolean_checkbox',
'settings' => [
'display_label' => FALSE,
- ]
+ ]
,
])
->save();
])
->save();