You are here

function ContentTaxonomyTestCase::setUp in Content Taxonomy 6

Same name and namespace in other branches
  1. 6.2 tests/content_taxonomy.test \ContentTaxonomyTestCase::setUp()
3 calls to ContentTaxonomyTestCase::setUp()
ContentTaxonomyAutocompletePermissionsTest::setUp in tests/content_taxonomy.test
ContentTaxonomyAutocompleteTest::setUp in tests/content_taxonomy.test
ContentTaxonomyTest::setUp in tests/content_taxonomy.test
3 methods override ContentTaxonomyTestCase::setUp()
ContentTaxonomyAutocompletePermissionsTest::setUp in tests/content_taxonomy.test
ContentTaxonomyAutocompleteTest::setUp in tests/content_taxonomy.test
ContentTaxonomyTest::setUp in tests/content_taxonomy.test

File

tests/content_taxonomy.test, line 10

Class

ContentTaxonomyTestCase
Base Class for testing Content Taxonomy extends the ContentCrudTestCase Class from CCK, which provides many useful helper functions

Code

function setUp() {
  $args = func_get_args();
  $modules = array_merge(array(
    "optionwidgets",
    "content_taxonomy",
    "content_taxonomy_options",
    "content_taxonomy_autocomplete",
  ), $args);
  call_user_func_array(array(
    'parent',
    'setUp',
  ), $modules);
  $this
    ->loginWithPermissions();
  $this
    ->acquireContentTypes(2);
}