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:
Kevin Roast 2012-09-25 14:20:12 +00:00
parent 5921783200
commit ec8a54d69d

View File

@ -61,6 +61,16 @@ public class FullNodeServiceTest extends BaseNodeServiceTest
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
{
// Set the server default locale