Commit 29f04eb8be4af5e3e033c470cb2ffc0c41060cd1
1 parent
5b26096d
Parameter "classes" of @SpringBootTest not needed
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
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 | ... | ... |