Disable subsite filters so it doesn't break framework unit tests

This commit is contained in:
Cochrane, Mike 2016-05-09 19:53:20 +12:00
parent aea73cab52
commit 3afff81bdf

View File

@ -207,6 +207,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
if(class_exists('RootURLController')) RootURLController::reset();
if(class_exists('Translatable')) Translatable::reset();
if(class_exists('Subsite', false)) Subsite::disable_subsite_filter(true);
Versioned::reset();
DataObject::reset();
if(class_exists('SiteTree')) SiteTree::reset();