Commit 29f04eb8be4af5e3e033c470cb2ffc0c41060cd1

Authored by jcartign
1 parent 5b26096d

Parameter "classes" of @SpringBootTest not needed

src/test/java/fr/plil/sio/persistence/jdbc/GroupServiceTest.java
... ... @@ -11,7 +11,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
11 11 import static org.junit.Assert.*;
12 12  
13 13 @RunWith(SpringJUnit4ClassRunner.class)
14   -@SpringBootTest(classes = JdbcApplication.class)
  14 +@SpringBootTest
15 15 public class GroupServiceTest extends AbstractServiceSupport {
16 16  
17 17 @Autowired
... ...
src/test/java/fr/plil/sio/persistence/jdbc/RightServiceTest.java
... ... @@ -11,7 +11,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
11 11 import static org.junit.Assert.*;
12 12  
13 13 @RunWith(SpringJUnit4ClassRunner.class)
14   -@SpringBootTest(classes = JdbcApplication.class)
  14 +@SpringBootTest
15 15 public class RightServiceTest extends AbstractServiceSupport {
16 16  
17 17 @Autowired
... ...
src/test/java/fr/plil/sio/persistence/jdbc/UserServiceTest.java
... ... @@ -11,7 +11,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
11 11 import static org.junit.Assert.*;
12 12  
13 13 @RunWith(SpringJUnit4ClassRunner.class)
14   -@SpringBootTest(classes = JdbcApplication.class)
  14 +@SpringBootTest
15 15 public class UserServiceTest extends AbstractServiceSupport {
16 16  
17 17 @Autowired
... ...