diff --git a/core/tests/Drupal/KernelTests/Core/Extension/UpdateDeprecationTest.php b/core/tests/Drupal/KernelTests/Core/Extension/UpdateDeprecationTest.php index 3e458ed7a6..70aac466c8 100644 --- a/core/tests/Drupal/KernelTests/Core/Extension/UpdateDeprecationTest.php +++ b/core/tests/Drupal/KernelTests/Core/Extension/UpdateDeprecationTest.php @@ -38,7 +38,6 @@ public function testUpdateCheckIncompatibility() { */ public function testUpdateSetSchema() { $this->expectDeprecation('update_set_schema() is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3210925'); - require_once $this->root . '/core/includes/update.inc'; update_set_schema('update_test_schema', 8003); // Ensure schema has changed. $this->assertEqual(8003, \Drupal::keyValue('system.schema')->get('update_test_schema'));