From 8fd13be160607d13eb63d89880f33ae02a81fe2e Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 30 Jul 2020 11:34:40 +0100
Subject: [PATCH] Issue #3157975 by S_Bhandari, paulocs, quietone: Remove
 Unused variables from Migrate Drupal module

---
 .../migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php  | 2 --
 1 file changed, 2 deletions(-)

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 7e7b186a9279..47cb77d52009 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();
-- 
GitLab