You are here

protected function ServicesHistoricalTestCase::setUp in Services Tools 7.3

Same name in this branch
  1. 7.3 services_historical/services_historical.test \ServicesHistoricalTestCase::setUp()
  2. 7.3 services_historical/services_tools_example/services_tools_example.test \ServicesHistoricalTestCase::setUp()

Test setup.

Overrides DrupalWebTestCase::setUp

File

services_historical/services_historical.test, line 24
Provide test for services_historical functionality.

Class

ServicesHistoricalTestCase
@file Provide test for services_historical functionality.

Code

protected function setUp() {
  parent::setUp(array(
    'services_tools_example_historical',
  ));
  user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array(
    'create paste',
    'retrieve paste',
  ));
}