mirror of
https://github.com/sismics/docs.git
synced 2025-12-15 18:56:18 +00:00
fixed non-idempotent tests (#757)
This commit is contained in:
@@ -29,5 +29,9 @@ public class TestJpa extends BaseTransactionalTest {
|
||||
|
||||
// Authenticate using the database
|
||||
Assert.assertNotNull(new InternalAuthenticationHandler().authenticate("testJpa", "12345678"));
|
||||
|
||||
// Delete the created user
|
||||
userDao.delete("testJpa", user.getId());
|
||||
TransactionUtil.commit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user