public function RowTest::testSourceIdValues in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testSourceIdValues()
Tests the source ID.
File
- core/
modules/ migrate/ tests/ src/ Unit/ RowTest.php, line 228
Class
- RowTest
- @coversDefaultClass \Drupal\migrate\Row @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testSourceIdValues() {
$row = new Row($this->testValues, $this->testSourceIds);
$this
->assertSame([
'nid' => $this->testValues['nid'],
], $row
->getSourceIdValues());
}