public function CommerceMessageTestBase::setUp in Commerce Message 7
Overrides DrupalWebTestCase::setUp().
Overrides DrupalWebTestCase::setUp
2 calls to CommerceMessageTestBase::setUp()
2 methods override CommerceMessageTestBase::setUp()
File
- ./
commerce_message.test, line 31
Class
Code
public function setUp() {
$modules = parent::setUpHelper('all');
$modules[] = 'rules';
$modules[] = 'entityreference';
$modules[] = 'entity_token';
$modules[] = 'message';
$modules[] = 'message_notify';
$modules[] = 'commerce_message';
parent::setUp($modules);
$this
->resetAll();
$this->store_admin = $this
->createStoreAdmin();
if (!$this->store_admin) {
$this
->fail(t('Failed to create Store Admin user for test.'));
}
// Set the default country to US.
variable_set('site_default_country', 'US');
}