You are here

function OgPost::setUp in Organic groups 6

Same name and namespace in other branches
  1. 6.2 tests/og.post.test \OgPost::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

tests/og.post.test, line 26

Class

OgPost

Code

function setUp() {
  parent::setUp('og', 'og_access');

  // Create a user with admin permissions.
  $web_admin = $this
    ->drupalCreateUser(array(
    'administer nodes',
    'administer content types',
    'access administration pages',
    'administer site configuration',
    'administer organic groups',
  ));
  $this
    ->drupalLogin($web_admin);
}