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:
Ingo Schommer 2010-04-13 02:14:47 +00:00
parent c045198333
commit ac5bb2b527

View File

@ -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);
} }
} }