diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php index 7e7b186a9279f661181b328d53349e8860616fd7..47cb77d52009dd8ddc177ca001c8f8616be5c4a6 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @@ -50,7 +50,6 @@ public function testSourceProviderNotActive() { $entity_type_manager = $this->createMock('Drupal\Core\Entity\EntityTypeManagerInterface'); $plugin = new TestDrupalSqlBase([], 'placeholder_id', $plugin_definition, $this->getMigration(), $state, $entity_type_manager); $plugin->setDatabase($this->getDatabase($this->databaseContents)); - $system_data = $plugin->getSystemData(); $this->expectException(RequirementsException::class); $this->expectExceptionMessage('The module module1 is not enabled in the source site.'); try { @@ -75,7 +74,6 @@ public function testSourceDatabaseError() { /** @var \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager */ $entity_type_manager = $this->createMock('Drupal\Core\Entity\EntityTypeManagerInterface'); $plugin = new TestDrupalSqlBase([], 'test', $plugin_definition, $this->getMigration(), $state, $entity_type_manager); - $system_data = $plugin->getSystemData(); $this->expectException(RequirementsException::class); $this->expectExceptionMessage('No database connection configured for source plugin test'); $plugin->checkRequirements();