|
@@ -27,10 +27,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest;
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest;
|
|
import org.springframework.boot.test.context.TestConfiguration;
|
|
import org.springframework.boot.test.context.TestConfiguration;
|
|
-import org.springframework.boot.test.mock.mockito.MockBean;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Import;
|
|
import org.springframework.context.annotation.Import;
|
|
-import org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository;
|
|
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
import org.springframework.test.web.reactive.server.WebTestClient;
|
|
import org.springframework.test.web.reactive.server.WebTestClient;
|
|
import org.springframework.web.reactive.function.client.WebClient;
|
|
import org.springframework.web.reactive.function.client.WebClient;
|
|
@@ -48,9 +46,6 @@ public class RegisteredOAuth2AuthorizedClientControllerTests {
|
|
@Autowired
|
|
@Autowired
|
|
private WebTestClient client;
|
|
private WebTestClient client;
|
|
|
|
|
|
- @MockBean
|
|
|
|
- ReactiveClientRegistrationRepository clientRegistrationRepository;
|
|
|
|
-
|
|
|
|
@AfterClass
|
|
@AfterClass
|
|
public static void shutdown() throws Exception {
|
|
public static void shutdown() throws Exception {
|
|
web.shutdown();
|
|
web.shutdown();
|