mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Disable subsite filters so it doesn't break framework unit tests
This commit is contained in:
parent
aea73cab52
commit
3afff81bdf
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user