public function PrivatemsgServiceTestCase::setUp in Privatemsg 6.2
setUp() performs any pre-requisite tasks that need to happen.
Overrides DrupalWebTestCase::setUp
File
- privatemsg_service/
privatemsg_service.test, line 32 - Privatemsg Services test
Class
- PrivatemsgServiceTestCase
- Tests for services integration.
Code
public function setUp() {
// Must include every single module that PM Service module relies on.
parent::setUp('privatemsg', 'services', 'services_keyauth', 'privatemsg_service');
$this->fields = variable_get('privatemsg_service_thread_author_fields', array(
'uid',
'name',
));
}