function PublishContentWebCaseTest::setUp in Publish Content 5.2
Same name and namespace in other branches
- 6 tests/publishcontent.test \PublishContentWebCaseTest::setUp()
File
- tests/
publishcontent.test, line 25 - Unit tests for Publish Content module. prerequesite: make sure that 'authenticated user' does not have any access like 'publish [content type] content' or 'unpublish [content type] content'
Class
- PublishContentWebCaseTest
- @file Unit tests for Publish Content module. prerequesite: make sure that 'authenticated user' does not have any access like 'publish [content type] content' or 'unpublish [content type] content'
Code
function setUp() {
parent::setUp();
$this
->drupalModuleEnable('publishcontent');
}