|
25 | 25 | import io.r2dbc.spi.ConnectionFactory;
|
26 | 26 | import io.r2dbc.spi.Result;
|
27 | 27 | import org.junit.jupiter.api.BeforeEach;
|
28 |
| -import org.junit.jupiter.api.Disabled; |
29 | 28 | import org.junit.jupiter.api.Test;
|
30 | 29 | import reactor.core.publisher.Flux;
|
31 | 30 | import reactor.core.publisher.Mono;
|
@@ -115,14 +114,12 @@ public void loadAuthorizedClientWhenPrincipalNameIsNullThenThrowIllegalArgumentE
|
115 | 114 | }
|
116 | 115 |
|
117 | 116 | @Test
|
118 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
119 | 117 | public void loadAuthorizedClientWhenDoesNotExistThenReturnNull() {
|
120 | 118 | this.authorizedClientService.loadAuthorizedClient("registration-not-found", "principalName")
|
121 | 119 | .as(StepVerifier::create).expectNextCount(0).verifyComplete();
|
122 | 120 | }
|
123 | 121 |
|
124 | 122 | @Test
|
125 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
126 | 123 | public void loadAuthorizedClientWhenExistsThenReturnAuthorizedClient() {
|
127 | 124 | Authentication principal = createPrincipal();
|
128 | 125 | OAuth2AuthorizedClient expected = createAuthorizedClient(principal, this.clientRegistration);
|
@@ -153,7 +150,6 @@ public void loadAuthorizedClientWhenExistsThenReturnAuthorizedClient() {
|
153 | 150 | }
|
154 | 151 |
|
155 | 152 | @Test
|
156 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
157 | 153 | public void loadAuthorizedClientWhenExistsButNotFoundInClientRegistrationRepositoryThenThrowDataRetrievalFailureException() {
|
158 | 154 | given(this.clientRegistrationRepository.findByRegistrationId(any())).willReturn(Mono.empty());
|
159 | 155 | Authentication principal = createPrincipal();
|
@@ -190,7 +186,6 @@ public void saveAuthorizedClientWhenPrincipalIsNullThenThrowIllegalArgumentExcep
|
190 | 186 | }
|
191 | 187 |
|
192 | 188 | @Test
|
193 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
194 | 189 | public void saveAuthorizedClientWhenSaveThenLoadReturnsSaved() {
|
195 | 190 | Authentication principal = createPrincipal();
|
196 | 191 | final OAuth2AuthorizedClient expected = createAuthorizedClient(principal, this.clientRegistration);
|
@@ -249,7 +244,6 @@ public void saveAuthorizedClientWhenSaveThenLoadReturnsSaved() {
|
249 | 244 | }
|
250 | 245 |
|
251 | 246 | @Test
|
252 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
253 | 247 | public void saveAuthorizedClientWhenSaveClientWithExistingPrimaryKeyThenUpdate() {
|
254 | 248 | // Given a saved authorized client
|
255 | 249 | Authentication principal = createPrincipal();
|
@@ -303,7 +297,6 @@ public void removeAuthorizedClientWhenPrincipalNameIsNullThenThrowIllegalArgumen
|
303 | 297 | }
|
304 | 298 |
|
305 | 299 | @Test
|
306 |
| - @Disabled // until https://github.com/reactor/reactor-core/issues/3307 is resolved |
307 | 300 | public void removeAuthorizedClientWhenExistsThenRemoved() {
|
308 | 301 | Authentication principal = createPrincipal();
|
309 | 302 | OAuth2AuthorizedClient authorizedClient = createAuthorizedClient(principal, this.clientRegistration);
|
|
0 commit comments