diff -u b/core/modules/ban/tests/src/Kernel/Plugin/migrate/source/d7/BlockedIpsTest.php b/core/modules/ban/tests/src/Kernel/Plugin/migrate/source/d7/BlockedIpsTest.php --- b/core/modules/ban/tests/src/Kernel/Plugin/migrate/source/d7/BlockedIpsTest.php +++ b/core/modules/ban/tests/src/Kernel/Plugin/migrate/source/d7/BlockedIpsTest.php @@ -17,25 +17,25 @@ */ public static $modules = ['ban', 'migrate_drupal']; - protected $expectedResults = [ - [ - 'ip' => '127.0.0.1', - ], - ]; - /** * {@inheritdoc} */ public function providerSource() { - $databaseContents['blocked_ips'] = [ [ 'iid' => 1, 'ip' => '127.0.0.1', ] ]; + + $expectedResults = [ + [ + 'ip' => '127.0.0.1', + ], + ]; + $test[0][0] = $databaseContents; - $test[0][1] = $this->expectedResults; + $test[0][1] = $expectedResults; return $test; }