You are here

protected function Ubercart7TestBase::migrateCommentFields in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7TestBase::migrateCommentFields()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\Ubercart7TestBase::migrateCommentFields()

Executes all field migrations for comments.

Required modules:

  • comment.
  • commerce_price.
  • commerce_product.
  • commerce_store.
  • node.
  • path.
  • text.
3 calls to Ubercart7TestBase::migrateCommentFields()
CommentEntityDisplayTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityDisplayTest.php
CommentEntityFormDisplayTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityFormDisplayTest.php
CommentFieldInstanceTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentFieldInstanceTest.php

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php, line 68

Class

Ubercart7TestBase
Test base for Ubercart 7 tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

protected function migrateCommentFields() {
  $this
    ->migrateCommentTypes();
  $this
    ->executeMigrations([
    'd7_comment_field',
    'uc7_comment_field',
    'uc7_comment_field_instance',
  ]);
}