You are here

public function CommercePriceSynonymsBehaviorWebTestCase::setUp in Synonyms 7

SetUp method.

Overrides AbstractSynonymsProviderFieldWebTestCase::setUp

File

synonyms_commerce/synonyms_commerce.test, line 870
Tests for the Synonyms Commerce module.

Class

CommercePriceSynonymsBehaviorWebTestCase
Test CommercePriceSynonymsBehavior class.

Code

public function setUp($modules = array()) {
  $modules[] = 'commerce_price';
  $modules[] = 'commerce_product_reference';
  $modules[] = 'commerce_product_ui';
  $modules[] = 'synonyms_commerce';
  $this->fields['enabled']['field'] = array(
    'field_name' => 'synonyms_commerce_price',
    'cardinality' => FIELD_CARDINALITY_UNLIMITED,
    'type' => 'commerce_price',
  );
  parent::setUp($modules);
}