Unverified Commit aafcd8d6 authored by alexpott's avatar alexpott
Browse files

Issue #3126784 by quietone, jungle:...

Issue #3126784 by quietone, jungle: \Drupal\ban\Plugin\migrate\destination\BlockedIP is not identical with its filename BlockedIp.php
parent 125b33ab
......@@ -16,7 +16,7 @@
* id = "blocked_ip"
* )
*/
class BlockedIP extends DestinationBase implements ContainerFactoryPluginInterface {
class BlockedIp extends DestinationBase implements ContainerFactoryPluginInterface {
/**
* The IP ban manager.
......@@ -26,7 +26,7 @@ class BlockedIP extends DestinationBase implements ContainerFactoryPluginInterfa
protected $banManager;
/**
* Constructs a BlockedIP object.
* Constructs a BlockedIp object.
*
* @param array $configuration
* Plugin configuration.
......
......@@ -10,7 +10,7 @@
*
* @group ban
*/
class MigrateBlockedIPsTest extends MigrateDrupal7TestBase {
class MigrateBlockedIpsTest extends MigrateDrupal7TestBase {
use SchemaCheckTestTrait;
......@@ -33,7 +33,7 @@ protected function setUp() {
/**
* Tests migration of blocked IPs.
*/
public function testBlockedIPs() {
public function testBlockedIps() {
$this->assertTrue(\Drupal::service('ban.ip_manager')->isBanned('111.111.111.111'));
}
......
......@@ -2,7 +2,7 @@
namespace Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate;
use Drupal\ban\Plugin\migrate\destination\BlockedIP;
use Drupal\ban\Plugin\migrate\destination\BlockedIp;
use Drupal\color\Plugin\migrate\destination\Color;
use Drupal\KernelTests\FileSystemModuleDiscoveryDataProviderTrait;
use Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase;
......@@ -121,7 +121,7 @@ protected function getContentClasses() {
return [
EntityContentBase::class,
UrlAlias::class,
BlockedIP::class,
BlockedIp::class,
NodeCounter::class,
UserData::class,
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment