Mercurial > hg > isophonics-drupal-site
diff core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/migrate/tests/src/Kernel/MigrateSkipRowTest.php Mon Apr 23 09:46:53 2018 +0100 @@ -3,7 +3,6 @@ namespace Drupal\Tests\migrate\Kernel; use Drupal\KernelTests\KernelTestBase; -use Drupal\migrate\MigrateMessage; use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate\MigrateExecutable; use Drupal\migrate\Plugin\MigrateIdMapInterface; @@ -50,7 +49,7 @@ $migration = \Drupal::service('plugin.manager.migration')->createStubMigration($definition); - $executable = new MigrateExecutable($migration, new MigrateMessage()); + $executable = new MigrateExecutable($migration); $result = $executable->import(); $this->assertEqual($result, MigrationInterface::RESULT_COMPLETED); @@ -85,7 +84,7 @@ ]; $migration = \Drupal::service('plugin.manager.migration')->createStubMigration($definition); - $executable = new MigrateExecutable($migration, new MigrateMessage()); + $executable = new MigrateExecutable($migration); $result = $executable->import(); $this->assertEquals($result, MigrationInterface::RESULT_COMPLETED);