You are here

function UcCouponTestCase::setUp in Ubercart Discount Coupons 7.3

Overrides DrupalWebTestCase::setUp().

Overrides UbercartTestHelper::setUp

File

tests/uc_coupon.test, line 24
Ubercart Discount Coupon Tests.

Class

UcCouponTestCase
SimpleTests for Ubercart Discount Coupons

Code

function setUp() {
  $modules = array(
    'uc_coupon',
    'uc_payment',
    'uc_payment_pack',
  );
  $permissions = array(
    'manage store coupons',
  );
  parent::setUp($modules, $permissions);
  $this
    ->drupalLogin($this->adminUser);
}