MINOR Unsetting state in FilesystemPublisherTest (regression from r103745) (from r103763)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112177 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-13 04:20:33 +00:00
parent fa4415459a
commit e40661c160

View File

@ -78,6 +78,7 @@ class FilesystemPublisherTest extends SapphireTest {
}
function testUrlsToPathsWithDomainBasedCaching() {
$origDomainBasedCaching = FilesystemPublisher::$domain_based_caching;
FilesystemPublisher::$domain_based_caching = true;
$fsp = new FilesystemPublisher('.', 'html');
@ -102,6 +103,8 @@ class FilesystemPublisherTest extends SapphireTest {
array($url => 'domain2.com/parent/child.html'),
'Nested URLsegment path mapping'
);
FilesystemPublisher::$domain_based_caching = $origDomainBasedCaching;
}
/**