MINOR File restructuring, grouping module-specific files and excluding them by default in order to make the module useful for testing basic core components

This commit is contained in:
Ingo Schommer 2012-02-29 12:54:51 +01:00
parent 045117db1f
commit 796851cad0
28 changed files with 4 additions and 3 deletions

View File

@ -3,9 +3,10 @@
Object::add_extension('Member', 'FrameworkTestRole'); Object::add_extension('Member', 'FrameworkTestRole');
Object::add_extension('Member', 'FileUploadRole'); Object::add_extension('Member', 'FileUploadRole');
Object::add_extension('SiteConfig', 'CMSWorkflowSiteConfigDecorator'); if(class_exists('SiteTreeCMSWorkflow')) {
Object::add_extension('SiteConfig', 'CMSWorkflowSiteConfigDecorator');
CMSWorkflowSiteConfigDecorator::apply_active_config(); CMSWorkflowSiteConfigDecorator::apply_active_config();
}
Director::addRules(100, array( Director::addRules(100, array(
'dev/regress/$Action/$ID' => 'FrameworktestRegressSessionAdmin' 'dev/regress/$Action/$ID' => 'FrameworktestRegressSessionAdmin'

View File

View File

View File

View File