diff --git a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php index 013c154..ec17116 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Schema/ContentEntitySchemaHandlerTest.php @@ -244,7 +244,7 @@ public function testGetSchemaBase($uuid_key) { 'id' => array( 'description' => 'The id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), 'name' => array( 'description' => 'The name field.', @@ -339,7 +339,7 @@ public function testGetSchemaBase($uuid_key) { 'type' => 'varchar', 'length' => 128, 'description' => 'The uuid field.', - 'not null' => TRUE, + 'not null' => FALSE, ); $expected['entity_test']['unique keys']['entity_test__uuid'] = array('uuid'); } @@ -413,12 +413,12 @@ public function testGetSchemaRevisionable() { 'id' => array( 'description' => 'The id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ) ), 'primary key' => array('id'), @@ -439,12 +439,12 @@ public function testGetSchemaRevisionable() { 'id' => array( 'description' => 'The id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), ), 'primary key' => array('revision_id'), @@ -512,12 +512,12 @@ public function testGetSchemaTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ) ), 'primary key' => array('id'), @@ -530,12 +530,12 @@ public function testGetSchemaTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ), ), 'primary key' => array('id', 'langcode'), @@ -618,17 +618,17 @@ public function testGetSchemaRevisionableTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ) ), 'primary key' => array('id'), @@ -649,17 +649,17 @@ public function testGetSchemaRevisionableTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'serial', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ), ), 'primary key' => array('revision_id'), @@ -679,17 +679,17 @@ public function testGetSchemaRevisionableTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ), ), 'primary key' => array('id', 'langcode'), @@ -709,17 +709,17 @@ public function testGetSchemaRevisionableTranslatable() { 'id' => array( 'description' => 'The id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'revision_id' => array( 'description' => 'The revision_id field.', 'type' => 'int', - 'not null' => TRUE, + 'not null' => FALSE, ), 'langcode' => array( 'description' => 'The langcode field.', 'type' => 'varchar', - 'not null' => TRUE, + 'not null' => FALSE, ), ), 'primary key' => array('revision_id', 'langcode'),