|
@@ -24,11 +24,9 @@ import org.junit.jupiter.api.Test;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
|
|
|
import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest;
|
|
|
-import org.springframework.boot.test.mock.mockito.MockBean;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
import org.springframework.context.annotation.Import;
|
|
|
-import org.springframework.security.oauth2.client.registration.ReactiveClientRegistrationRepository;
|
|
|
import org.springframework.security.oauth2.client.web.server.ServerOAuth2AuthorizedClientRepository;
|
|
|
import org.springframework.security.oauth2.client.web.server.WebSessionServerOAuth2AuthorizedClientRepository;
|
|
|
import org.springframework.test.web.reactive.server.WebTestClient;
|
|
@@ -47,9 +45,6 @@ public class RegisteredOAuth2AuthorizedClientControllerTests {
|
|
|
@Autowired
|
|
|
private WebTestClient client;
|
|
|
|
|
|
- @MockBean
|
|
|
- ReactiveClientRegistrationRepository clientRegistrationRepository;
|
|
|
-
|
|
|
@AfterAll
|
|
|
static void shutdown() throws Exception {
|
|
|
web.shutdown();
|