use of org.mifos.framework.util.StandardTestingService in project head by mifos.
the class GroupStatusChangeIntegrationTest method initialiseHibernateUtil.
@BeforeClass
public static void initialiseHibernateUtil() {
oldDefaultCurrency = Money.getDefaultCurrency();
Money.setDefaultCurrency(TestUtils.RUPEE);
new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
use of org.mifos.framework.util.StandardTestingService in project head by mifos.
the class GenerateMeetingsForCustomerAndSavingsBatchJobIntegrationTest method initialiseHibernateUtil.
@BeforeClass
public static void initialiseHibernateUtil() {
oldDefaultCurrency = Money.getDefaultCurrency();
Money.setDefaultCurrency(TestUtils.RUPEE);
new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
use of org.mifos.framework.util.StandardTestingService in project head by mifos.
the class MifosIntegrationTestCase method init.
@BeforeClass
public static void init() throws Exception {
Log4jConfigurer.initLogging(new ConfigurationLocator().getFilePath(FilePaths.LOG_CONFIGURATION_FILE));
verifyDatabaseState = false;
if (!isTestingModeSet) {
new StandardTestingService().setTestMode(TestMode.INTEGRATION);
isTestingModeSet = true;
}
}
use of org.mifos.framework.util.StandardTestingService in project head by mifos.
the class ApplyCustomerFeeChangesBatchJobIntegrationTest method initialiseHibernateUtil.
@BeforeClass
public static void initialiseHibernateUtil() {
oldDefaultCurrency = Money.getDefaultCurrency();
Money.setDefaultCurrency(TestUtils.RUPEE);
new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
use of org.mifos.framework.util.StandardTestingService in project head by mifos.
the class ApplicationConfigurationDaoHibernateIntegrationTest method initialiseHibernateUtil.
@BeforeClass
public static void initialiseHibernateUtil() {
Locale locale = Localization.getInstance().getConfiguredLocale();
AuditConfiguration.init(locale);
oldDefaultCurrency = Money.getDefaultCurrency();
Money.setDefaultCurrency(TestUtils.RUPEE);
new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Aggregations