public function RowTest::testRowWithInvalidData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/RowTest.php \Drupal\Tests\migrate\Unit\RowTest::testRowWithInvalidData()
Tests object creation: invalid values.
@expectedException \Exception
File
- core/
modules/ migrate/ tests/ src/ Unit/ RowTest.php, line 84 - Contains \Drupal\Tests\migrate\Unit\RowTest.
Class
- RowTest
- @coversDefaultClass \Drupal\migrate\Row @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testRowWithInvalidData() {
$invalid_values = array(
'title' => 'node X',
);
$row = new Row($invalid_values, $this->testSourceIds);
}