protected function FieldCounterTest::setUp

Sets up Drupal unit test environment.

Overrides ViewUnitTestBase::setUp

See also

DrupalUnitTestBase::$modules

DrupalUnitTestBase

File

drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldCounterTest.php, line 32
Definition of Drupal\views\Tests\Handler\FieldCounterTest.

Class

FieldCounterTest
Tests the Drupal\views\Plugin\views\field\Counter handler.

Namespace

Drupal\views\Tests\Handler

Code

protected function setUp() {
  parent::setUp();
  $this
    ->enableModules(array(
    'user',
  ));
}