function RowTest::testSourceIdValues
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testSourceIdValues()
- 8.9.x core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testSourceIdValues()
- 11.x 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 230
Class
- RowTest
- @coversDefaultClass \Drupal\migrate\Row @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testSourceIdValues() : void {
$row = new Row($this->testValues, $this->testSourceIds);
$this->assertSame([
'nid' => $this->testValues['nid'],
], $row->getSourceIdValues());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.