function ConcatTest::testConcatWithNonArray
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\ConcatTest::testConcatWithNonArray()
- 8.9.x core/modules/migrate/tests/src/Unit/process/ConcatTest.php \Drupal\Tests\migrate\Unit\process\ConcatTest::testConcatWithNonArray()
- 10 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 36
Class
- ConcatTest
- Tests the concat process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testConcatWithNonArray() : void {
$this->expectException(MigrateException::class);
$this->plugin
->transform('foo', $this->migrateExecutable, $this->row, 'destination_property');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.