Author: echatellier Date: 2012-02-21 15:02:26 +0100 (Tue, 21 Feb 2012) New Revision: 3330 Url: http://chorem.org/repositories/revision/lima/3330 Log: Fix tests without services internal state Modified: trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java Modified: trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java =================================================================== --- trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java 2012-02-21 14:00:40 UTC (rev 3329) +++ trunk/lima-business/src/test/java/org/chorem/lima/business/accountingrules/AccountServiceRuleFrTest.java 2012-02-21 14:02:26 UTC (rev 3330) @@ -32,7 +32,6 @@ import org.chorem.lima.entity.AccountImpl; import org.junit.Assert; import org.junit.BeforeClass; -import org.junit.Ignore; import org.junit.Test; /** @@ -67,14 +66,10 @@ /** * Création d'un compte dans le plan comptable. * - * This test currently wont work because AccountServiceImpl keep accouting - * reference and @BeforeClass changes has no effects. - * * @throws LimaException */ @Test(expected=LimaException.class) @Override - @Ignore public void testCreateAccountWrongNumber() throws LimaException { Account myAccount = new AccountImpl(); myAccount.setAccountNumber("42");