mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Cleanup test folder after SiteConfigTest::testAvailableThemes() is run (from r98127)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102601 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c045198333
commit
ac5bb2b527
@ -73,6 +73,8 @@ class SiteConfigTest extends SapphireTest {
|
|||||||
SiteConfig::disable_theme('darkshades');
|
SiteConfig::disable_theme('darkshades');
|
||||||
$themes = $config->getAvailableThemes($testThemeBaseDir);
|
$themes = $config->getAvailableThemes($testThemeBaseDir);
|
||||||
$this->assertFalse(in_array('darkshades', $themes), 'Darkshades was disabled - it is no longer available');
|
$this->assertFalse(in_array('darkshades', $themes), 'Darkshades was disabled - it is no longer available');
|
||||||
|
|
||||||
|
Filesystem::removeFolder($testThemeBaseDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user