You are here

public function FieldTestPermissionsExample::setUp in Examples for Developers 7

Simpletest's setUp().

We want to be able to subclass this class, so we jump through a few hoops in order to get the modules from args and add our own.

Overrides GenericFieldTest::setUp

File

field_permission_example/tests/field_permission_example.test, line 385
Tests for Field Permission Example.

Class

FieldTestPermissionsExample

Code

public function setUp() {
  parent::setUp(array(
    'field_permission_example',
  ));
}