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.
This commit is contained in:
Sean Harvey 2013-10-24 17:22:16 +13:00
parent 56d7c1fde2
commit e3542fead3

View File

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