public function RevisionAllEnableFutureTests::testFutureContentType in Revision All 7.2
Tests that "Create new revision" is automatically set for new content types.
File
- tests/
revision_all.test, line 350 - Tests for Revision All module.
Class
- RevisionAllEnableFutureTests
- Tests the "Enable for all Future Content Types" feature.
Code
public function testFutureContentType() {
$this
->drupalGet('admin/structure/types/add');
$this
->assertFieldChecked('edit-node-options-revision', '"Create new revision" checked on new content type');
}