You are here

public function AfSimpleAPITest::setUp in Advanced Forum 7.2

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

tests/af.test, line 21
Unit tests for advanced_forum.module.

Class

AfSimpleAPITest
Class AfSimpleAPITest

Code

public function setUp() {
  drupal_load('module', 'advanced_forum');
  parent::setUp();
}