You are here

function CommerceTaxUIAdminTest::setUp in Commerce Core 7

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

modules/tax/tests/commerce_tax_ui.test, line 36
Functional tests for the commerce tax UI module.

Class

CommerceTaxUIAdminTest
Functional tests for the commerce tax UI module.

Code

function setUp() {
  $modules = parent::setUpHelper('all');
  parent::setUp($modules);

  // User creation for different operations.
  $this->store_admin = $this
    ->createStoreAdmin();
  $this->normal_user = $this
    ->drupalCreateUser(array(
    'access checkout',
    'view own commerce_order entities',
  ));

  // Create a dummy tax type for testing.
  $this->tax_type = $this
    ->createDummyTaxType();
}