File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/spring/githubchangeloggenerator/github/service Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
import org .junit .runner .RunWith ;
24
24
25
25
import org .springframework .beans .factory .annotation .Autowired ;
26
- import org .springframework .boot .context .properties .EnableConfigurationProperties ;
27
26
import org .springframework .boot .test .autoconfigure .web .client .RestClientTest ;
27
+ import org .springframework .boot .test .mock .mockito .MockBean ;
28
28
import org .springframework .core .io .ClassPathResource ;
29
29
import org .springframework .http .HttpHeaders ;
30
30
import org .springframework .http .HttpMethod ;
47
47
*/
48
48
@ RunWith (SpringRunner .class )
49
49
@ RestClientTest (GitHubService .class )
50
- @ EnableConfigurationProperties (GitHubProperties .class )
50
+ @ MockBean (GitHubProperties .class )
51
51
public class GitHubServiceTests {
52
52
53
53
private static final String MILESTONES_URL = "/repos/org/repo/milestones" ;
You can’t perform that action at this time.
0 commit comments