diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php index 0d52aa8..29b89dd 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php @@ -41,7 +41,7 @@ public static function defaultInstanceSettings() { 'max' => '', 'prefix' => '', 'suffix' => '', - 'size' => NULL, + 'size' => 'normal', ) + parent::defaultInstanceSettings(); } diff --git a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateFieldInstanceTest.php b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateFieldInstanceTest.php index 86404e8..c6ad455 100644 --- a/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateFieldInstanceTest.php +++ b/core/modules/migrate_drupal/lib/Drupal/migrate_drupal/Tests/d6/MigrateFieldInstanceTest.php @@ -107,6 +107,7 @@ public function testFieldInstanceSettings() { 'prefix' => 'pref', 'suffix' => 'suf', 'unsigned' => '', + 'size' => 'normal', ); $this->assertEqual($field->getSettings(), $expected); diff --git a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php index 75c52f7..f347b2a 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php @@ -17,7 +17,6 @@ * @coversDefaultClass \Drupal\Core\Entity\Schema\ContentEntitySchemaHandler * * @group Drupal - * @group ponies * @group Entity */ class ContentEntitySchemaHandlerTest extends UnitTestCase {