public function CommerceRecurringTestCase::setUp in Commerce Recurring Framework 7.2
setUp() performs any pre-requisite tasks that need to happen.
Overrides DrupalWebTestCase::setUp
File
- tests/
commerce_recurring.test, line 28 - Unit tests for the commerce recurring module.
Class
- CommerceRecurringTestCase
- @file Unit tests for the commerce recurring module.
Code
public function setUp() {
$other_modules = array(
'interval',
'entityreference',
'date',
'date_popup',
'commerce_recurring',
);
$modules = parent::setUpHelper('all', $other_modules);
parent::setUp($modules);
$this->customer = $this
->createStoreCustomer();
cache_clear_all();
// Just in case
}