mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
Fix test to correctly clear the content locale threadlocal between test methods (from Mr Ward)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
5921783200
commit
ec8a54d69d
@ -61,6 +61,16 @@ public class FullNodeServiceTest extends BaseNodeServiceTest
|
|||||||
MLPropertyInterceptor.setMLAware(false);
|
MLPropertyInterceptor.setMLAware(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.node.BaseNodeServiceTest#onTearDownInTransaction()
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
protected void onTearDownInTransaction() throws Exception
|
||||||
|
{
|
||||||
|
super.onTearDownInTransaction();
|
||||||
|
I18NUtil.setContentLocale(null);
|
||||||
|
}
|
||||||
|
|
||||||
public void testMLTextValues() throws Exception
|
public void testMLTextValues() throws Exception
|
||||||
{
|
{
|
||||||
// Set the server default locale
|
// Set the server default locale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user