function MigrateSourceTest::testHighwaterTrackChangesIncompatible

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\MigrateSourceTest::testHighwaterTrackChangesIncompatible()
  2. 8.9.x core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\MigrateSourceTest::testHighwaterTrackChangesIncompatible()
  3. 11.x 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 157

Class

MigrateSourceTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\source\SourcePluginBase @group migrate

Namespace

Drupal\Tests\migrate\Unit

Code

public function testHighwaterTrackChangesIncompatible() : void {
    $source_config = [
        'track_changes' => TRUE,
        'high_water_property' => [
            'name' => 'something',
        ],
    ];
    $this->expectException(MigrateException::class);
    $this->getSource($source_config);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.