public function ConcatTest::testConcatWithNonArray in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\ConcatTest::testConcatWithNonArray()
Tests concat fails properly on non-arrays.
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ ConcatTest.php, line 39 - Contains \Drupal\Tests\migrate\Unit\process\ConcatTest.
Class
- ConcatTest
- Tests the concat process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testConcatWithNonArray() {
$this
->expectException(MigrateException::class);
$this->plugin
->transform('foo', $this->migrateExecutable, $this->row, 'destination_property');
}