public function UCXFTestCase::setUp in Extra Fields Checkout Pane 6.2
Same name and namespace in other branches
- 7 uc_extra_fields_pane.test \UCXFTestCase::setUp()
Install users and modules needed for all tests.
Parameters
$modules: Optional list of extra modules to install.
$permissions: Optional list of extra permissions for $this->adminUser.
Return value
void
Overrides UbercartTestHelper::setUp
1 call to UCXFTestCase::setUp()
- UCXFCheckoutTestCase::setUp in ./
uc_extra_fields_pane.test - Install payment modules
1 method overrides UCXFTestCase::setUp()
- UCXFCheckoutTestCase::setUp in ./
uc_extra_fields_pane.test - Install payment modules
File
- ./
uc_extra_fields_pane.test, line 83 - Automated tests for Extra Fields Pane
Class
- UCXFTestCase
- Base class for all Extra Fields Pane test cases.
Code
public function setUp($modules = array(), $permissions = array()) {
$modules = array_merge(array(
'uc_extra_fields_pane',
), $modules);
$permissions = array_merge(array(
'use php fields',
), $permissions);
parent::setUp($modules, $permissions);
// Clear the field list cache.
UCXF_FieldList::reset();
}