You are here

protected function BlockedIpsTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php \Drupal\Tests\ban\Unit\Plugin\migrate\source\d7\BlockedIpsTest::setUp()

Overrides MigrateSqlSourceTestCase::setUp

File

core/modules/ban/tests/src/Unit/Plugin/migrate/source/d7/BlockedIpsTest.php, line 38
Contains \Drupal\Tests\ban\Unit\Plugin\migrate\source\d7\BlockedIpsTest.

Class

BlockedIpsTest
Tests D7 blocked_ip source plugin.

Namespace

Drupal\Tests\ban\Unit\Plugin\migrate\source\d7

Code

protected function setUp() {
  $this->databaseContents['blocked_ips'] = [
    [
      'iid' => 1,
      'ip' => '127.0.0.1',
    ],
  ];
  parent::setUp();
}