protected function setUp() { parent::setUp(); // Create a user that has no access to change the state of the support_ticket. $this->webUser = $this->drupalCreateUser(array('access support tickets', 'create ticket ticket', 'edit own ticket ticket')); // Create a user that has access to change the state of the support_ticket. // @todo 'administer support ticket types' is kinda silly as the admin check for the page -- look into the support_ticket/add permissions closer! $this->adminUser = $this->drupalCreateUser(array('access support tickets', 'administer support tickets', 'administer support ticket types', 'view own unpublished support tickets')); }
protected function setUp() { parent::setUp(); $web_user = $this->drupalCreateUser(array('access support tickets')); $this->drupalLogin($web_user); }