diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index 4fb2310c4..e71e8b186 100644 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -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();