mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 14:03:10 +07: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