function PaymentTestUpdatePathWithoutContentWebTestCase::setUp in Payment 7
Overrides parent::setUp().
Overrides UpgradePathTestCase::setUp
File
- tests/
payment_test/ tests/ PaymentTestUpdatePathWithoutContentWebTestCase.test, line 25 - Contains class PaymentTestUpdatePathWithoutContentWebTestCase.
Class
- PaymentTestUpdatePathWithoutContentWebTestCase
- Tests Payment's update path.
Code
function setUp() {
$this->profile = 'testing';
$this->databaseDumpFiles = array(
drupal_get_path('module', 'payment') . '/payment-database-dump.php',
);
parent::setUp();
// Re-register the autoload functions that were unregistered by
// UpdatePathTestCase::setUp(), because it also loads some module files
// that work with classes.
spl_autoload_register('drupal_autoload_class');
spl_autoload_register('drupal_autoload_interface');
registry_rebuild();
}