1 field_permission_example.test public FieldTestPermissionsExample::setUp()

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

modules/examples/field_permission_example/field_permission_example.test, line 372
Tests for Field Permission Example.

Class

FieldTestPermissionsExample

Code

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