You are here

function ParserIcalCategoriesTestCase::setUp in iCal feed parser 7.2

Additional set up.

Overrides ParserIcalFeedsTestCase::setUp

File

tests/parser_ical_categories.test, line 15
Test case for CCK ical categories mapper.

Class

ParserIcalCategoriesTestCase
Common class for testing ical parsers categories mapping.

Code

function setUp() {
  parent::setUp();

  // Add a new taxonomy vocabulay.
  $edit = array(
    'name' => 'Tags',
    'machine_name' => 'tags',
  );
  $this
    ->drupalPost('admin/structure/taxonomy/add', $edit, 'Save');
}