You are here

function ABTWebTestCase::setUpContentStructure in Access By Term 7

3 calls to ABTWebTestCase::setUpContentStructure()
ABTEnviromentTestCase::setUp in ./abt.test
Sets up a Drupal site for running functional and integration tests.
ABTPermissionFieldTestCase::setUp in ./abt.test
Sets up a Drupal site for running functional and integration tests.
ABTPermissionGrantsTestCase::setUp in ./abt.test
Sets up a Drupal site for running functional and integration tests.

File

./abt.test, line 24

Class

ABTWebTestCase

Code

function setUpContentStructure($field_number = 3) {
  $this->content_type = $this
    ->createContentType();
  $this->fields = $this
    ->createFields($field_number);
  $this->field_instances = $this
    ->createFieldInstances($this->fields, $this->content_type);
}