package sg.ncl.service.user;

import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author Christopher Zhong
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = TestConfig.class)
public abstract class AbstractTest extends AbstractJUnit4SpringContextTests {
}

@@ -172,32 +172,45 @@
 .junit4.Abstract
+Transactional
 JUnit4SpringCont
@@ -219,16 +219,16 @@
 tTests;%0A
-
 import o
@@ -290,16 +290,81 @@
 sRunner;
+%0Aimport org.springframework.test.context.web.WebAppConfiguration;
 %0A%0A/**%0A *
@@ -475,16 +475,28 @@
 lasses =
+ %7BApp.class,
  TestCon
@@ -504,18 +504,40 @@
 ig.class
+%7D
 )%0A
+@WebAppConfiguration%0A
 public a
@@ -579,16 +579,29 @@
 Abstract
+Transactional
 JUnit4Sp

Enable transactions in integration test (DEV-100)