From c56a6090cefb8bbcf63f6852a00e8bed2a696946 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 29 Apr 2010 21:41:41 +0000 Subject: [PATCH] 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 --- tests/FilesystemPublisherTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/FilesystemPublisherTest.php b/tests/FilesystemPublisherTest.php index 9504e031..001f3621 100644 --- a/tests/FilesystemPublisherTest.php +++ b/tests/FilesystemPublisherTest.php @@ -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; } /**