Add test with different case in scheme part of redirect uri

This commit is contained in:
Stian Thorgersen 2016-01-21 14:12:40 +01:00
parent 53626fca5b
commit e4898ae983

View file

@ -244,6 +244,14 @@ public class OAuthRedirectUriTest {
checkRedirectUri("http://wiTh-dAsh.eXampLe.com/foO", false);
}
@Test
public void testDifferentCaseInScheme() throws IOException {
oauth.clientId("test-dash");
checkRedirectUri("HTTP://with-dash.example.com", true);
checkRedirectUri("Http://wiTh-dAsh.example.com", true);
}
@Test
public void testLocalhost() throws IOException {
oauth.clientId("test-installed");