function StatsproTestCase::setup in Statistics Pro 6.2
Same name and namespace in other branches
- 6 tests/statspro.test \StatsproTestCase::setup()
Implementation of setUp().
Overrides StatisticsProBaseTestCase::setup
File
- tests/
statspro.test, line 1093 - Functionality tests for Statistics Pro.
Class
- StatsproTestCase
- Class resposible for testing the statspro class.
Code
function setup() {
// Enable any modules required for the test
parent::setup('views', 'statistics', 'statspro');
require_once drupal_get_path('module', 'statspro') . '/statspro.inc';
$this->statspro = new StatsPro();
}