You are here

public function CommerceBaseTesterTestCase::setUp in Commerce Core 7

setUp() performs any pre-requisite tasks that need to happen.

Overrides DrupalWebTestCase::setUp

File

tests/commerce_base.test, line 752
Defines abstract base test class for the Commerce module tests.

Class

CommerceBaseTesterTestCase
Test class to test the CommerceBaseTestCase functions. All testTestFoo functions have "testTest" in the name to indicate that they are verifying that a test is working. Somewhat "meta" to do this, but it eases test development.

Code

public function setUp() {
  $modules = parent::setUpHelper('all');
  parent::setUp($modules);
  $this->site_admin = $this
    ->createSiteAdmin();
  cache_clear_all();

  // Just in case
}