diff --git a/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 new file mode 100644 index 00000000000..267cc3447c1 --- /dev/null +++ b/core/modules/ban/tests/src/Kernel/Plugin/migrate/source/d7/BlockedIpsTest.php @@ -0,0 +1,40 @@ + 1, + 'ip' => '127.0.0.1', + ] + ]; + $tests[0]['expected_data'] = [ + [ + 'ip' => '127.0.0.1', + ], + ]; + return $tests; + } + +} diff --git a/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php b/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php deleted file mode 100644 index 8ca8f58ee33..00000000000 --- a/core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php +++ /dev/null @@ -1,43 +0,0 @@ - 'test', - 'source' => [ - 'plugin' => 'd7_blocked_ips', - ], - ]; - - protected $expectedResults = [ - [ - 'ip' => '127.0.0.1', - ], - ]; - - /** - * {@inheritdoc} - */ - protected function setUp() { - $this->databaseContents['blocked_ips'] = [ - [ - 'iid' => 1, - 'ip' => '127.0.0.1', - ] - ]; - parent::setUp(); - } - -}