Merge pull request #4610 from tractorcow/pulls/3/suppress-custom-theme

Minor: Suppress custom themes in Formtest
This commit is contained in:
Loz Calver 2015-09-24 16:17:11 +01:00
commit 1aa1d65932

View File

@ -19,6 +19,9 @@ class FormTest extends FunctionalTest {
Config::inst()->update('Director', 'rules', array(
'FormTest_Controller' => 'FormTest_Controller'
));
// Suppress themes
Config::inst()->remove('SSViewer', 'theme');
}
public function testLoadDataFromRequest() {