Fix test
This commit is contained in:
		
							parent
							
								
									805264a13c
								
							
						
					
					
						commit
						b6754f6f20
					
				| 
						 | 
					@ -78,11 +78,10 @@ class ReactiveUserDetailsServiceAutoConfigurationTests {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@Test
 | 
						@Test
 | 
				
			||||||
	void doesNotConfigureDefaultUserIfResourceServerWithJWTIsUsed() {
 | 
						void doesNotConfigureDefaultUserIfResourceServerWithJWTIsUsed() {
 | 
				
			||||||
		this.contextRunner.withUserConfiguration(TestSecurityConfiguration.class, JwtDecoderConfiguration.class)
 | 
							this.contextRunner.withUserConfiguration(JwtDecoderConfiguration.class).run((context) -> {
 | 
				
			||||||
				.run((context) -> {
 | 
								assertThat(context).hasSingleBean(ReactiveJwtDecoder.class);
 | 
				
			||||||
					assertThat(context).hasSingleBean(ReactiveJwtDecoder.class);
 | 
								assertThat(context).doesNotHaveBean(ReactiveUserDetailsService.class);
 | 
				
			||||||
					assertThat(context).doesNotHaveBean(ReactiveUserDetailsService.class);
 | 
							});
 | 
				
			||||||
				});
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	@Test
 | 
						@Test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue