function AnnounceFeedTestValidatePermissions::setUp

Overrides DrupalWebTestCase::setUp

File

modules/announcements_feed/tests/announce_feed_test.test, line 227

Class

AnnounceFeedTestValidatePermissions
Test the Announcements module permissions.

Code

public function setUp() {
    global $base_url;
    module_load_include('inc', 'announce_feed_test', 'announce_feed_test');
    parent::setUp('user', 'toolbar', 'announcements_feed', 'announce_feed_test');
    $response_json = $base_url . '/announcements-feed-json/community-feeds';
    variable_set('announcements_feed_json_url', $response_json);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.