You are here

public function MigrateCommentVariableFieldTest::testCommentField in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableFieldTest.php \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableFieldTest::testCommentField()

Tests comment variables migrated into a field entity.

File

core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableFieldTest.php, line 38
Contains \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableFieldTest.

Class

MigrateCommentVariableFieldTest
Upgrade comment variables to field.storage.node.comment.yml.

Namespace

Drupal\comment\Tests\Migrate\d6

Code

public function testCommentField() {
  $this
    ->assertTrue(is_object(FieldStorageConfig::load('node.comment')));
}