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 1
1
package org .springframework .data .jpa .showcase ;
2
2
3
3
import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
4
+ import org .springframework .boot .test .SpringApplicationConfiguration ;
4
5
import org .springframework .context .annotation .ComponentScan ;
5
6
import org .springframework .context .annotation .Configuration ;
6
- import org .springframework .test . context . ContextConfiguration ;
7
+ import org .springframework .data . jpa . showcase . AbstractShowcaseTest . TestConfig ;
7
8
import org .springframework .test .context .junit4 .AbstractTransactionalJUnit4SpringContextTests ;
8
9
import org .springframework .test .context .transaction .BeforeTransaction ;
9
10
import org .springframework .transaction .annotation .Transactional ;
10
11
11
12
/**
12
13
* @author Oliver Gierke
13
14
*/
14
- @ ContextConfiguration
15
+ @ SpringApplicationConfiguration ( classes = TestConfig . class )
15
16
@ Transactional
16
17
public abstract class AbstractShowcaseTest extends AbstractTransactionalJUnit4SpringContextTests {
17
18
You can’t perform that action at this time.
0 commit comments