function ContentTaxonomyTestCase::setUp in Content Taxonomy 6
Same name and namespace in other branches
- 6.2 tests/content_taxonomy.test \ContentTaxonomyTestCase::setUp()
3 calls to ContentTaxonomyTestCase::setUp()
3 methods override ContentTaxonomyTestCase::setUp()
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);
}