function PublishContentWebCaseTest::testDoPublishNotByNodeOwner_permNodeType in Publish Content 5.2
File
- tests/
publishcontent.test, line 196 - 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 testDoPublishNotByNodeOwner_permNodeType() {
$this
->testDoPublishNotByNodeOwner(' publish page content', 'page');
}