function MigrateSqlSourceTestCase::testRetrieval
Tests that the source returns the same rows as expected.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrateSqlSourceTestCase.php, line 142
Class
- MigrateSqlSourceTestCase
- Base class for Migrate module source unit tests.
Namespace
Drupal\Tests\migrate\UnitCode
public function testRetrieval() {
$this->assertInstanceOf(SelectInterface::class, $this->source
->query());
$this->queryResultTest($this->source, $this->expectedResults);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.