Polish "Use HTTPS for external links wherever possible"

See gh-16320
This commit is contained in:
Andy Wilkinson 2019-03-28 09:56:22 +00:00
parent 9fc3ac7d49
commit 5a3474c7a8
3 changed files with 5 additions and 3 deletions

View File

@ -168,7 +168,8 @@ public class ReactiveOAuth2ClientAutoConfigurationTests {
@Bean
public ReactiveClientRegistrationRepository clientRegistrationRepository() {
List<ClientRegistration> registrations = new ArrayList<>();
registrations.add(getClientRegistration("first", "https://user-info-uri.com"));
registrations
.add(getClientRegistration("first", "https://user-info-uri.com"));
registrations.add(getClientRegistration("second", "http://other-user-info"));
return new InMemoryReactiveClientRegistrationRepository(registrations);
}

View File

@ -121,7 +121,7 @@ do as they were designed before this was clarified.
| https://github.com/mybatis/mybatis-3[MyBatis]
| https://github.com/mybatis/mybatis-spring-boot
| http://narayana.io/[Narayana]
| https://github.com/jbosstm/narayana[Narayana]
| https://github.com/snowdrop/narayana-spring-boot
| https://github.com/nutzam/nutz[Nutz]

View File

@ -121,7 +121,8 @@ public class RootUriRequestExpectationManagerTests {
"Request URI expected:</hello> was:<https://example.com/bad>"));
assertThatExceptionOfType(AssertionError.class)
.isThrownBy(() -> this.manager.validateRequest(request))
.withMessageContaining("Request URI expected:<https://example.com/hello>");
.withMessageContaining(
"Request URI expected:<https://example.com/hello>");
}
@Test