MINOR Unsetting state in FilesystemPublisherTest (regression from r103745)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103763 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-29 21:41:41 +00:00 committed by Sam Minnee
parent 9c4c3eef2e
commit c56a6090ce

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;
}
/**