Skip to content

Commit

Permalink
added Transactional for delete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kszubra committed Feb 14, 2019
1 parent 3fa8c62 commit badb106
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -118,6 +118,7 @@ public void testFindAll() {
Assert.assertTrue(loadedProducts.contains(testProductFour));
}

@Transactional
@Test
public void testDeleteProduct() {
//given
Expand All @@ -133,6 +134,7 @@ public void testDeleteProduct() {

}

@Transactional
@Test
public void testDeleteProductById() {
//given
Expand Down

0 comments on commit badb106

Please sign in to comment.