relaxed restrictions on OAuth callbacks

This commit is contained in:
Pablo Fernandez committed 2011-12-28 11:45:45 -03:00
1 parent aa5e27b263
commit 6cfdf973f8
2 files changed
+3 -3

No files matched your search

@@ -46,9 +46,9 @@ public class ServiceBuilderTest
}
@Test(expected=IllegalArgumentException.class)
public void shouldNotAcceptAnInvalidUrlAsCallback()
public void shouldNotAcceptNullAsCallback()
{
builder.provider(ApiMock.class).apiKey("key").apiSecret("secret").callback("example.com").build();
builder.provider(ApiMock.class).apiKey("key").apiSecret("secret").callback(null).build();
}
@Test