function DrupalApacheSolrNodeAccess::setUp in Apache Solr Search 5
Same name and namespace in other branches
- 8 apachesolr_access/tests/apachesolr_access.test \DrupalApacheSolrNodeAccess::setUp()
- 6.3 apachesolr_access/tests/apachesolr_access.test \DrupalApacheSolrNodeAccess::setUp()
- 6 contrib/apachesolr_nodeaccess/tests/apachesolr_nodeaccess.test \DrupalApacheSolrNodeAccess::setUp()
- 6.2 contrib/apachesolr_nodeaccess/tests/apachesolr_nodeaccess.test \DrupalApacheSolrNodeAccess::setUp()
- 7 apachesolr_access/tests/apachesolr_access.test \DrupalApacheSolrNodeAccess::setUp()
File
- contrib/
apachesolr_nodeaccess/ tests/ apachesolr_nodeaccess.test, line 12
Class
Code
function setUp() {
parent::setUp("nodeaccess", "apachesolr", "apachesolr_search", "apachesolr_nodeaccess");
print_r($this);
// Create a basic user, which is subject to moderation.
$permissions = array(
'access content',
'create page content',
'edit own page content',
'create story content',
'edit own story content',
);
$this->basic_user = $this
->drupalCreateUserRolePerm($permissions);
}