Search in sources :

Example 26 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class SavingsProductDaoHibernateIntegrationTest method initialiseHibernateUtil.

@BeforeClass
public static void initialiseHibernateUtil() {
    oldDefaultCurrency = Money.getDefaultCurrency();
    Money.setDefaultCurrency(TestUtils.RUPEE);
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) BeforeClass(org.junit.BeforeClass)

Aggregations

StandardTestingService (org.mifos.framework.util.StandardTestingService)26 BeforeClass (org.junit.BeforeClass)25 Locale (java.util.Locale)3 Before (org.junit.Before)1 ConfigurationLocator (org.mifos.framework.util.ConfigurationLocator)1