public function SpacesOGTestAutocomplete::setUp in Spaces 7.3
Same name and namespace in other branches
- 6.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 785
Class
Code
public function setUp() {
parent::setUp();
$vocab = array(
'name' => 'Tags',
'description' => 'Test vocab.',
'multiple' => 1,
'tags' => 1,
'nodes' => array(
'features_test ' => TRUE,
),
);
taxonomy_vocabulary_save($vocabulary);
$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',
);
}