diff --git a/tests/ManifestBuilderTest.php b/tests/ManifestBuilderTest.php index a0f168486..0660f1185 100644 --- a/tests/ManifestBuilderTest.php +++ b/tests/ManifestBuilderTest.php @@ -74,6 +74,8 @@ class ManifestBuilderTest extends SapphireTest { protected static $test_fixture_project; function setUp() { + parent::setUp(); + // Trick the auto-loder into loading this class before we muck with the manifest new TokenisedRegularExpression(null); @@ -131,6 +133,8 @@ class ManifestBuilderTest extends SapphireTest { // Kill the folder after we're done $baseFolder = TEMP_FOLDER . '/manifest-test/'; Filesystem::removeFolder($baseFolder); + + parent::tearDown(); } } diff --git a/tests/i18n/i18nTest.php b/tests/i18n/i18nTest.php index 52ee53aa9..2817a7a65 100644 --- a/tests/i18n/i18nTest.php +++ b/tests/i18n/i18nTest.php @@ -62,6 +62,8 @@ class i18nTest extends SapphireTest { unset($_TEMPLATE_MANIFEST['i18nTestModuleInclude.ss']); i18n::set_locale('en_US'); + + parent::tearDown(); } function testGetExistingTranslations() { diff --git a/tests/i18n/i18nTextCollectorTest.php b/tests/i18n/i18nTextCollectorTest.php index 8655c2ca0..e5f3fcb8b 100644 --- a/tests/i18n/i18nTextCollectorTest.php +++ b/tests/i18n/i18nTextCollectorTest.php @@ -60,6 +60,8 @@ class i18nTextCollectorTest extends SapphireTest { global $_TEMPLATE_MANIFEST; unset($_TEMPLATE_MANIFEST['i18nTestModule.ss']); unset($_TEMPLATE_MANIFEST['i18nTestModuleInclude.ss']); + + parent::tearDown(); } function testCollectFromTemplateSimple() { diff --git a/tests/model/TranslatableTest.php b/tests/model/TranslatableTest.php index cd157591a..232101379 100644 --- a/tests/model/TranslatableTest.php +++ b/tests/model/TranslatableTest.php @@ -33,6 +33,8 @@ class TranslatableTest extends FunctionalTest { self::kill_temp_db(); self::create_temp_db(); + + parent::tearDown(); } function testUpdateCMSFieldsOnSiteTree() {