public function SpacesOGTestAutocomplete::setUp in Spaces 6.3
Same name and namespace in other branches
- 7.3 spaces_og/tests/spaces_og.test \SpacesOGTestAutocomplete::setUp()
- 7 spaces_og/tests/spaces_og.test \SpacesOGTestAutocomplete::setUp()
Set up test.
Overrides SpacesOGTestCase::setUp
File
- spaces_og/
tests/ spaces_og.test, line 720
Class
Code
public function setUp() {
parent::setUp();
$vocab = array(
'name' => 'Tags',
'description' => 'Test vocab.',
'multiple' => 1,
'tags' => 1,
'nodes' => array(
'features_test ' => TRUE,
),
);
taxonomy_save_vocabulary($vocab);
$this->simpleUserPerms = array(
'access user profiles',
'access comments',
'post comments',
'post comments without approval',
'access content',
'create features_test content',
'edit own features_test content',
'delete own features_test content',
);
}