You are here

protected function UbercartQuoteTestCase::setUp in Ubercart 7.3

Overrides DrupalWebTestCase::setUp().

Overrides UbercartTestHelper::setUp

File

shipping/uc_quote/tests/uc_quote.test, line 24
Ubercart Shipping Quote Tests.

Class

UbercartQuoteTestCase
SimpleTests for Ubercart Shipping Quotes.

Code

protected function setUp($modules = array(), $permissions = array()) {
  $modules = array(
    'rules_admin',
    'uc_payment',
    'uc_payment_pack',
    'uc_quote',
    'uc_flatrate',
  );
  $permissions = array(
    'administer rules',
    'bypass rules access',
  );
  parent::setUp($modules, $permissions);
  module_load_include('inc', 'uc_flatrate', 'uc_flatrate.admin');
  $this
    ->drupalLogin($this->adminUser);
}