function OgPost::setUp in Organic groups 6
Same name and namespace in other branches
- 6.2 tests/og.post.test \OgPost::setUp()
Implementation of setUp().
Overrides DrupalWebTestCase::setUp
File
- tests/
og.post.test, line 26
Class
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);
}