You are here

public function AdvPollTestBase::setUp in Advanced Poll 7.3

Setup the testing environment.

Overrides DrupalWebTestCase::setUp

File

tests/AdvPollTestBase.test, line 32
Advanced Poll Test Base.

Class

AdvPollTestBase
@file Advanced Poll Test Base.

Code

public function setUp() {

  // Enable required modules.
  parent::setUp('field', 'field_sql_storage', 'number', 'options', 'list', 'votingapi', 'date_api', 'date', 'date_popup', 'advpoll_field', 'advpoll');

  // Create some users.
  $this
    ->createUsers();
}