public function RevisionAllPreventTypeOverrideTests::setUp in Revision All 7.2
Implements setUp();
Overrides RevisionAllBase::setUp
File
- tests/
revision_all.test, line 444 - Tests for Revision All module.
Class
- RevisionAllPreventTypeOverrideTests
- Tests the Prevent Content Type Revisioning Overrides feature.
Code
public function setUp($permissions = array()) {
parent::setUp(array(
'administer nodes',
'bypass node access',
));
$settings = parent::getSettings(TRUE, TRUE, TRUE, FALSE);
parent::saveSettings($settings);
}