File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-data-jpa-showcase/src/test/java/org/springframework/data/jpa/showcase Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package org .springframework .data .jpa .showcase ;
22
33import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
4+ import org .springframework .boot .test .SpringApplicationConfiguration ;
45import org .springframework .context .annotation .ComponentScan ;
56import org .springframework .context .annotation .Configuration ;
6- import org .springframework .test . context . ContextConfiguration ;
7+ import org .springframework .data . jpa . showcase . AbstractShowcaseTest . TestConfig ;
78import org .springframework .test .context .junit4 .AbstractTransactionalJUnit4SpringContextTests ;
89import org .springframework .test .context .transaction .BeforeTransaction ;
910import org .springframework .transaction .annotation .Transactional ;
1011
1112/**
1213 * @author Oliver Gierke
1314 */
14- @ ContextConfiguration
15+ @ SpringApplicationConfiguration ( classes = TestConfig . class )
1516@ Transactional
1617public abstract class AbstractShowcaseTest extends AbstractTransactionalJUnit4SpringContextTests {
1718
You can’t perform that action at this time.
0 commit comments