From e3542fead31f4909cff75d9b3e0a41fad22536dd Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 24 Oct 2013 17:22:16 +1300 Subject: [PATCH] i18nSSLegacyAdapterTest setting wrong arguments for manifest. Currently if you run i18nSSLegacyAdapterTest twice in a row you get errors about classes not existing, because the class manifest doesn't get set correctly during the test setUp() method. --- tests/i18n/i18nSSLegacyAdapterTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/i18n/i18nSSLegacyAdapterTest.php b/tests/i18n/i18nSSLegacyAdapterTest.php index 3aecadef9..2fabdccaf 100644 --- a/tests/i18n/i18nSSLegacyAdapterTest.php +++ b/tests/i18n/i18nSSLegacyAdapterTest.php @@ -21,7 +21,7 @@ class i18nSSLegacyAdapterTest extends SapphireTest { $this->_oldTheme = Config::inst()->get('SSViewer', 'theme'); Config::inst()->update('SSViewer', 'theme', 'testtheme1'); - $classManifest = new SS_ClassManifest($this->alternateBasePath, null, true, true, false); + $classManifest = new SS_ClassManifest($this->alternateBasePath, false, true, false); SS_ClassLoader::instance()->pushManifest($classManifest); $this->originalLocale = i18n::get_locale(); @@ -87,4 +87,4 @@ class i18nSSLegacyAdapterTest extends SapphireTest { // ); } -} \ No newline at end of file +}