File tree Expand file tree Collapse file tree
src/test/java/com/alibaba/csp/sentinel/dashboard/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515 <properties >
1616 <resource .delimiter>@</resource .delimiter>
17- <spring .boot.version>2.0.5 .RELEASE</spring .boot.version>
17+ <spring .boot.version>2.2.13 .RELEASE</spring .boot.version>
1818 <curator .version>4.0.1</curator .version>
1919 </properties >
2020
6363 <dependency >
6464 <groupId >log4j</groupId >
6565 <artifactId >log4j</artifactId >
66- <version >1.2.14 </version >
66+ <version >1.2.17 </version >
6767 </dependency >
6868
6969 <dependency >
Original file line number Diff line number Diff line change 2020import org .springframework .boot .test .context .TestConfiguration ;
2121import org .springframework .context .annotation .Bean ;
2222import org .springframework .context .annotation .Import ;
23+ import org .springframework .context .annotation .Primary ;
2324
2425import javax .servlet .http .HttpServletRequest ;
2526
3334public class NoAuthConfigurationTest {
3435
3536 @ Bean
36- public AuthService <HttpServletRequest > httpServletRequestAuthService () {
37+ @ Primary
38+ public AuthService <HttpServletRequest > httpServletRequestNoopAuthService () {
3739 return new FakeAuthServiceImpl ();
3840 }
3941
You can’t perform that action at this time.
0 commit comments