diff --git a/core/modules/user/tests/src/Functional/UidUpdateToSerialTest.php b/core/modules/user/tests/src/Functional/UidUpdateToSerialTest.php index ac42e4f7bd..0923317e66 100644 --- a/core/modules/user/tests/src/Functional/UidUpdateToSerialTest.php +++ b/core/modules/user/tests/src/Functional/UidUpdateToSerialTest.php @@ -6,6 +6,8 @@ /** * Tests user_update_9001(). + * + * @group user */ class UidUpdateToSerialTest extends UpdatePathTestBase { diff --git a/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php b/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php index 0b163a2405..827e59aa5c 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php @@ -709,7 +709,6 @@ protected function assertFieldAdditionRemoval($field_spec) { for ($i = 0; $i < 3; $i++) { $this->connection ->insert($table_name) - ->useDefaults(['serial_column']) ->fields(['test_nullable_field' => 100]) ->execute(); } @@ -717,7 +716,7 @@ protected function assertFieldAdditionRemoval($field_spec) { // Add another row with no value for the 'test_nullable_field' column. $this->connection ->insert($table_name) - ->useDefaults(['serial_column']) + ->fields(['serial_column' => NULL]) ->execute(); $this->schema->addField($table_name, 'test_field', $field_spec); @@ -782,7 +781,7 @@ protected function assertFieldCharacteristics($table_name, $field_name, $field_s // Try inserting a row, and check the resulting value of the new column. $id = $this->connection ->insert($table_name) - ->useDefaults(['serial_column']) + ->fields(['serial_column' => NULL]) ->execute(); $field_value = $this->connection ->select($table_name)