Add test with different case in scheme part of redirect uri
This commit is contained in:
parent
53626fca5b
commit
e4898ae983
1 changed files with 8 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue