DMSSiteTreeExtensionTest::testCanDisableDocumentSetsTab
Ensure that setting the configuration property "documents_enabled" to false for a page type will prevent the CMS fields from being modified.
Also ensures that a correctly named Document Sets GridField is added to the fields in the right place. Note: the (1) is the number of sets defined for this SiteTree in the fixture
Signature
public function testCanDisableDocumentSetsTab(
$configSetting,
$assertionMethod )
Parameters
$configSetting
—$assertionMethod
—