Merge pull request #7491 from amit2103/BAEL-16045-19
[BAEL-16045] - Check Article Code Matches GitHub for https://www.bael…
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
spring.main.allow-bean-definition-overriding=true
|
||||||
@@ -11,7 +11,7 @@ import org.springframework.context.annotation.Profile;
|
|||||||
public class NameServiceTestConfiguration {
|
public class NameServiceTestConfiguration {
|
||||||
@Bean
|
@Bean
|
||||||
@Primary
|
@Primary
|
||||||
public NameService nameServiceTest() {
|
public NameService nameService() {
|
||||||
return Mockito.mock(NameService.class);
|
return Mockito.mock(NameService.class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user