mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
fa4415459a
commit
e40661c160
@ -78,6 +78,7 @@ class FilesystemPublisherTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function testUrlsToPathsWithDomainBasedCaching() {
|
function testUrlsToPathsWithDomainBasedCaching() {
|
||||||
|
$origDomainBasedCaching = FilesystemPublisher::$domain_based_caching;
|
||||||
FilesystemPublisher::$domain_based_caching = true;
|
FilesystemPublisher::$domain_based_caching = true;
|
||||||
|
|
||||||
$fsp = new FilesystemPublisher('.', 'html');
|
$fsp = new FilesystemPublisher('.', 'html');
|
||||||
@ -102,6 +103,8 @@ class FilesystemPublisherTest extends SapphireTest {
|
|||||||
array($url => 'domain2.com/parent/child.html'),
|
array($url => 'domain2.com/parent/child.html'),
|
||||||
'Nested URLsegment path mapping'
|
'Nested URLsegment path mapping'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
FilesystemPublisher::$domain_based_caching = $origDomainBasedCaching;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user