mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
56d7c1fde2
commit
e3542fead3
@ -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 {
|
||||
// );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user