Search in sources :

Example 1 with TestCaseInitializer

use of org.mifos.framework.util.helpers.TestCaseInitializer in project head by mifos.

the class MifosIntegrationTestCase method before.

@Before
public void before() throws Exception {
    new TestCaseInitializer().initialize(sessionFactory);
    dbVerificationSetUp();
    DatabaseDependentTest.before(new AuditInterceptorFactory(), sessionFactory);
    Money.setDefaultCurrency(TestUtils.RUPEE);
}
Also used : AuditInterceptorFactory(org.mifos.framework.hibernate.helper.AuditInterceptorFactory) TestCaseInitializer(org.mifos.framework.util.helpers.TestCaseInitializer) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 AuditInterceptorFactory (org.mifos.framework.hibernate.helper.AuditInterceptorFactory)1 TestCaseInitializer (org.mifos.framework.util.helpers.TestCaseInitializer)1