|
|
@ -27,10 +27,10 @@ import org.springframework.test.web.reactive.server.WebTestClient;
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
|
|
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = {
|
|
|
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
|
|
|
"APP-CLIENT-ID=my-client-id", "APP-CLIENT-SECRET=my-client-secret",
|
|
|
|
properties = { "APP-CLIENT-ID=my-client-id", "APP-CLIENT-SECRET=my-client-secret",
|
|
|
|
"YAHOO-CLIENT-ID=my-google-client-id",
|
|
|
|
"YAHOO-CLIENT-ID=my-google-client-id",
|
|
|
|
"YAHOO-CLIENT-SECRET=my-google-client-secret" })
|
|
|
|
"YAHOO-CLIENT-SECRET=my-google-client-secret" })
|
|
|
|
public class SampleReactiveOAuth2ClientApplicationTests {
|
|
|
|
public class SampleReactiveOAuth2ClientApplicationTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
@Autowired
|
|
|
|