You are here

public function RestfulHookMenuTestCase::setUp in RESTful 7.2

Same name and namespace in other branches
  1. 7 tests/RestfulHookMenuTestCase.test \RestfulHookMenuTestCase::setUp()

Overrides DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

tests/RestfulHookMenuTestCase.test, line 27
Contains \RestfulHookMenuTestCase.

Class

RestfulHookMenuTestCase

Code

public function setUp() {
  parent::setUp('restful_example');

  // Allow anonymous users to edit articles.
  user_role_change_permissions(DRUPAL_ANONYMOUS_RID, array(
    'edit any article content' => TRUE,
  ));
}