projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
field
/
src
/
Tests
/
Number
/
NumberFieldTest.php
diff --git
a/web/core/modules/field/src/Tests/Number/NumberFieldTest.php
b/web/core/modules/field/src/Tests/Number/NumberFieldTest.php
index c69141050fe01680973c33c0b5300a160367c4a6..64da6c1a00fb4272ec152c0841f1f6a4630996d3 100644
(file)
--- a/
web/core/modules/field/src/Tests/Number/NumberFieldTest.php
+++ b/
web/core/modules/field/src/Tests/Number/NumberFieldTest.php
@@
-45,9
+45,7
@@
class NumberFieldTest extends WebTestBase {
'field_name' => $field_name,
'entity_type' => 'entity_test',
'type' => 'decimal',
'field_name' => $field_name,
'entity_type' => 'entity_test',
'type' => 'decimal',
- 'settings' => [
- 'precision' => 8, 'scale' => 4,
- ]
+ 'settings' => ['precision' => 8, 'scale' => 4],
])->save();
FieldConfig::create([
'field_name' => $field_name,
])->save();
FieldConfig::create([
'field_name' => $field_name,
@@
-143,8
+141,10
@@
class NumberFieldTest extends WebTestBase {
'entity_type' => 'entity_test',
'bundle' => 'entity_test',
'settings' => [
'entity_type' => 'entity_test',
'bundle' => 'entity_test',
'settings' => [
- 'min' => $minimum, 'max' => $maximum, 'prefix' => 'ThePrefix',
- ]
+ 'min' => $minimum,
+ 'max' => $maximum,
+ 'prefix' => 'ThePrefix',
+ ],
])->save();
entity_get_form_display('entity_test', 'entity_test', 'default')
])->save();
entity_get_form_display('entity_test', 'entity_test', 'default')