You are here

function CommercePricelistFeedsTestCaseSimpleProduct::setUp in Commerce Pricelist 7

Implementation of setUp().

Overrides CommercePricelistTestCase::setUp

File

commerce_pricelist_feeds/tests/commerce_pricelist_feeds.test, line 31
Functional tests for the commerce pricelist role module.

Class

CommercePricelistFeedsTestCaseSimpleProduct
Test price list features for a product display that only has one product attached.

Code

function setUp($other_modules = array()) {
  parent::setUp(array(
    'commerce_pricelist_feeds',
    'commerce_pricelist_feeds_example',
    'feeds',
    'feeds_ui',
  ));
  $this->feeds_admin = $this
    ->createAdminUser(array(
    'administer feeds',
  ));
  $this->my_pricelist = $this
    ->createDummyPricelist('My pricelist', 1);
}