function CommentVariableTest::testSource

@dataProvider providerSource @requires extension pdo_sqlite @expectedDeprecation CommentVariable is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \Drupal\node\Plugin\migrate\source\d6\NodeType instead.

Parameters

array $source_data: The source data that the plugin will read. See getDatabase() for the expected format.

array $expected_data: The result rows the plugin is expected to return.

int $expected_count: (optional) How many rows the source plugin is expected to return.

array $configuration: (optional) Configuration for the source plugin.

mixed $high_water: (optional) The value of the high water field.

Overrides MigrateSqlSourceTestBase::testSource

File

core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php, line 28

Class

CommentVariableTest
Tests d6_comment_variable source plugin.

Namespace

Drupal\Tests\comment\Kernel\Plugin\migrate\source\d6

Code

public function testSource(array $source_data, array $expected_data, $expected_count = NULL, array $configuration = [], $high_water = NULL) {
  parent::testSource($source_data, $expected_data, $expected_count, $configuration, $high_water);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.