From e432eea9d7223759ec0c871311d184007839f33b Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 13 Sep 2018 13:20:44 +0200 Subject: [PATCH] Issue #2999306 by longwave, chr.fritsch, alexpott: Update numbering - quick follow-up to #2949964 --- core/modules/comment/comment.install | 2 +- .../src/Functional/Update/CommentHostnameUpdateTest.php | 6 +++--- .../tests/src/Functional/Update/CommentUpdateTest.php | 2 +- core/modules/content_moderation/content_moderation.install | 2 +- .../src/Functional/Update/ContentModerationUpdateTest.php | 2 +- core/modules/file/file.install | 2 +- .../file/tests/src/Functional/Update/FileUpdateTest.php | 2 +- core/modules/media/media.install | 2 +- .../media/tests/src/Functional/Update/MediaUpdateTest.php | 2 +- core/modules/node/node.install | 2 +- .../node/tests/src/Functional/Update/NodeUpdateTest.php | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/core/modules/comment/comment.install b/core/modules/comment/comment.install index 51aaec9996dd..373a4eb6311d 100644 --- a/core/modules/comment/comment.install +++ b/core/modules/comment/comment.install @@ -211,7 +211,7 @@ function comment_update_8600() { /** * Set the 'owner' entity key and update the field. */ -function comment_update_8601() { +function comment_update_8700() { $definition_update_manager = \Drupal::entityDefinitionUpdateManager(); $entity_type = $definition_update_manager->getEntityType('comment'); $keys = $entity_type->getKeys(); diff --git a/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php b/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php index 7551a4309943..6fecb1f40103 100644 --- a/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php @@ -44,11 +44,11 @@ public function testCommentUpdate8600() { } /** - * Tests comment_update_8601(). + * Tests comment_post_update_add_ip_address_setting(). * - * @see comment_update_8601 + * @see comment_post_update_add_ip_address_setting() */ - public function testCommentUpdate8601() { + public function testCommentPostUpdateAddIpAddressSetting() { /** @var \Drupal\Core\Config\ConfigFactoryInterface $factory */ $factory = $this->container->get('config.factory'); diff --git a/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php b/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php index 45c2115f92a9..6928c3e58e48 100644 --- a/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php @@ -75,7 +75,7 @@ public function testPublishedEntityKey() { /** * Tests that the comment entity type has an 'owner' entity key. * - * @see comment_update_8600() + * @see comment_update_8700() */ public function testOwnerEntityKey() { // Check that the 'owner' entity key does not exist prior to the update. diff --git a/core/modules/content_moderation/content_moderation.install b/core/modules/content_moderation/content_moderation.install index e60fc59927ce..c0364081f804 100644 --- a/core/modules/content_moderation/content_moderation.install +++ b/core/modules/content_moderation/content_moderation.install @@ -33,7 +33,7 @@ function content_moderation_update_8401() { /** * Set the 'owner' entity key and update the field. */ -function content_moderation_update_8600() { +function content_moderation_update_8700() { $definition_update_manager = \Drupal::entityDefinitionUpdateManager(); $entity_type = $definition_update_manager->getEntityType('content_moderation_state'); $keys = $entity_type->getKeys(); diff --git a/core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php b/core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php index 02b15e8703d0..2153e4c2db03 100644 --- a/core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php +++ b/core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php @@ -25,7 +25,7 @@ protected function setDatabaseDumpFiles() { /** * Tests that the content moderation state entity has an 'owner' entity key. * - * @see content_moderation_update_8600() + * @see content_moderation_update_8700() */ public function testOwnerEntityKey() { // Check that the 'owner' entity key does not exist prior to the update. diff --git a/core/modules/file/file.install b/core/modules/file/file.install index cca8249a8f75..5140a2ef4994 100644 --- a/core/modules/file/file.install +++ b/core/modules/file/file.install @@ -168,7 +168,7 @@ function file_update_8001() { /** * Set the 'owner' entity key and update the field. */ -function file_update_8600() { +function file_update_8700() { $definition_update_manager = \Drupal::entityDefinitionUpdateManager(); $entity_type = $definition_update_manager->getEntityType('file'); $keys = $entity_type->getKeys(); diff --git a/core/modules/file/tests/src/Functional/Update/FileUpdateTest.php b/core/modules/file/tests/src/Functional/Update/FileUpdateTest.php index 974ec63da66e..c10e987a1c4b 100644 --- a/core/modules/file/tests/src/Functional/Update/FileUpdateTest.php +++ b/core/modules/file/tests/src/Functional/Update/FileUpdateTest.php @@ -59,7 +59,7 @@ public function testPostUpdate8001() { /** * Tests that the file entity type has an 'owner' entity key. * - * @see file_update_8600() + * @see file_update_8700() */ public function testOwnerEntityKey() { // Check that the 'owner' entity key does not exist prior to the update. diff --git a/core/modules/media/media.install b/core/modules/media/media.install index 58c8677f4f32..68beb9639775 100644 --- a/core/modules/media/media.install +++ b/core/modules/media/media.install @@ -167,7 +167,7 @@ function media_update_8600() { /** * Set the 'owner' entity key and update the field. */ -function media_update_8601() { +function media_update_8700() { $definition_update_manager = \Drupal::entityDefinitionUpdateManager(); $entity_type = $definition_update_manager->getEntityType('media'); $keys = $entity_type->getKeys(); diff --git a/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php index 655ff658502b..ea91915b0c08 100644 --- a/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php +++ b/core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php @@ -65,7 +65,7 @@ public function testOEmbedConfig() { /** * Tests that the media entity type has an 'owner' entity key. * - * @see media_update_8600() + * @see media_update_8700() */ public function testOwnerEntityKey() { // Check that the 'owner' entity key does not exist prior to the update. diff --git a/core/modules/node/node.install b/core/modules/node/node.install index 2463b21646ff..0ccebb8b77d7 100644 --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -271,7 +271,7 @@ function node_update_8401() { /** * Set the 'owner' entity key and update the field. */ -function node_update_8600() { +function node_update_8700() { $definition_update_manager = \Drupal::entityDefinitionUpdateManager(); $entity_type = $definition_update_manager->getEntityType('node'); $keys = $entity_type->getKeys(); diff --git a/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php b/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php index 180215b8fb24..00c7e8c07a28 100644 --- a/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php +++ b/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php @@ -68,7 +68,7 @@ public function testStatusCheckbox() { /** * Tests that the node entity type has an 'owner' entity key. * - * @see node_update_8600() + * @see node_update_8700() */ public function testOwnerEntityKey() { // Check that the 'owner' entity key does not exist prior to the update. -- GitLab