You are here

public function UcAddressesCartCheckoutTestCase::setUp in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 tests/uc_addresses.checkout.test \UcAddressesCartCheckoutTestCase::setUp()

Setup modules.

Overrides UbercartCartCheckoutTestCase::setUp

File

tests/uc_addresses.checkout.test, line 34
Test cases for checkout.

Class

UcAddressesCartCheckoutTestCase
Test cases for checkout.

Code

public function setUp() {
  parent::setUp();

  // Install Ubercart Addresses and flush schema cache.
  drupal_install_modules(array(
    'ctools',
    'uc_addresses',
  ));
  drupal_get_schema(NULL, TRUE);

  // Reset permissions so that Ubercart Addresses permissions are available.
  $this
    ->checkPermissions(array(), TRUE);
}