public function AppstoreUnitTestCase::setUp in Apps 7
Sets up unit test environment.
Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.
Overrides DrupalUnitTestCase::setUp
File
- ./
apps.test, line 12  - Tests for the AppStore module
 
Class
- AppstoreUnitTestCase
 - @file Tests for the AppStore module
 
Code
public function setUp() {
  parent::setUp('apps');
  $logfile = conf_path() . '/files/test.log';
  ini_set('log_errors', 1);
  ini_set('error_log', $logfile);
}