function UbercartCartCheckoutTestCase::setUp in Ubercart 6.2
Same name and namespace in other branches
- 7.3 uc_cart/tests/uc_cart.test \UbercartCartCheckoutTestCase::setUp()
Configure basic Ubercart store components.
Parameters
$modules: Optional list of extra modules to install.
$permissions: Optional list of extra permissions for $this->adminUser.
Overrides UbercartTestHelper::setUp
File
- uc_cart/
uc_cart.test, line 24 - Shopping cart and checkout tests.
Class
- UbercartCartCheckoutTestCase
- Tests the cart and checkout functionality.
Code
function setUp() {
$modules = array(
'uc_payment',
'uc_payment_pack',
'uc_roles',
);
$permissions = array(
'administer permissions',
'administer product features',
);
parent::setUp($modules, $permissions);
}