Merge pull request #2079 from stianst/master

Add test with different case in scheme part of redirect uri
This commit is contained in:
Stian Thorgersen 2016-01-21 15:30:54 +01:00
commit f5db03d6e9

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");