You are here

function DropdownAttributeTestCase::setUp in Dropdown Attributes 6

Overrides DrupalWebTestCase::setUp().

Overrides UbercartTestHelper::setUp

File

tests/uc_dropdown_attributes.test, line 27
Dropdown Attribute Tests

Class

DropdownAttributeTestCase
Tests for Dropdown Attributes.

Code

function setUp() {
  parent::setUp(array(
    'uc_dropdown_attributes',
    'uc_attribute',
  ), array(
    'administer attributes',
    'administer nodes',
  ));
  $this
    ->drupalLogin($this->adminUser);
}