8.7.x
parent
bea23d7ce2
commit
e432eea9d7
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -44,11 +44,11 @@ class CommentHostnameUpdateTest extends UpdatePathTestBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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');
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ class CommentUpdateTest extends UpdatePathTestBase {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class ContentModerationUpdateTest extends UpdatePathTestBase {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class FileUpdateTest extends UpdatePathTestBase {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class MediaUpdateTest extends UpdatePathTestBase {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class NodeUpdateTest extends UpdatePathTestBase {
|
|||
/**
|
||||
* 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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue