diff --git a/core/tests/Drupal/KernelTests/Core/Extension/UpdateSchemaTest.php b/core/tests/Drupal/KernelTests/Core/Extension/UpdateSchemaTest.php index 4e952c3759..a54a3c6681 100644 --- a/core/tests/Drupal/KernelTests/Core/Extension/UpdateSchemaTest.php +++ b/core/tests/Drupal/KernelTests/Core/Extension/UpdateSchemaTest.php @@ -19,12 +19,12 @@ class UpdateSchemaTest extends KernelTestBase { /** * Tests the function parses schema updates as integer numbers. * - * @see drupal_get_schema_versions() + * @see \Drupal\Core\Schema\SchemaDataInterface::getAvailableUpdates() */ public function testDrupalGetSchemaVersionsInt() { \Drupal::state()->set('update_test_schema_version', 8001); $this->installSchema('update_test_schema', ['update_test_schema_table']); - $schema = \Drupal::service('database.schema.data')->getVersions('update_test_schema'); + $schema = \Drupal::service('database.schema.data')->getAvailableUpdates('update_test_schema'); foreach ($schema as $version) { $this->assertIsInt($version); }