mirror of
https://github.com/sismics/docs.git
synced 2026-04-02 23:25:24 +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