1
0
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:
Kaiyao Ke
2024-05-17 08:37:43 -05:00
committed by GitHub
parent afa78857f9
commit 11ae0ea7d3
3 changed files with 26 additions and 10 deletions

View File

@@ -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();
}
}