public function MigrateSourceTest::testHighwaterTrackChangesIncompatible in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\MigrateSourceTest::testHighwaterTrackChangesIncompatible()
@covers ::__construct
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrateSourceTest.php, line 160 - Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
Class
- MigrateSourceTest
- @coversDefaultClass \Drupal\migrate\Plugin\migrate\source\SourcePluginBase @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public function testHighwaterTrackChangesIncompatible() {
$source_config = [
'track_changes' => TRUE,
'high_water_property' => [
'name' => 'something',
],
];
$this
->expectException(MigrateException::class);
$this
->getSource($source_config);
}