You are here

public function PartyTestCase::setUp in Party 8.2

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

File

tests/party.test, line 77
Tests for the Party module.

Class

PartyTestCase
Test Core Party functionality

Code

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

  // Enable any modules required for the test
  $this->privileged_user = $this
    ->drupalCreateUser(array(
    'administer crm settings',
    'administer parties',
    'create parties',
    'view parties',
  ));
  $this
    ->drupalLogin($this->privileged_user);
}