mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2598 from halkyon/test_execution_error
i18nSSLegacyAdapterTest setting wrong arguments for manifest.
This commit is contained in:
commit
7cf8e65309
@ -21,7 +21,7 @@ class i18nSSLegacyAdapterTest extends SapphireTest {
|
|||||||
$this->_oldTheme = Config::inst()->get('SSViewer', 'theme');
|
$this->_oldTheme = Config::inst()->get('SSViewer', 'theme');
|
||||||
Config::inst()->update('SSViewer', 'theme', 'testtheme1');
|
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);
|
SS_ClassLoader::instance()->pushManifest($classManifest);
|
||||||
|
|
||||||
$this->originalLocale = i18n::get_locale();
|
$this->originalLocale = i18n::get_locale();
|
||||||
@ -87,4 +87,4 @@ class i18nSSLegacyAdapterTest extends SapphireTest {
|
|||||||
// );
|
// );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user