Added bitlink create method.
This commit is contained in:
parent
0aeb385238
commit
597b5516e1
4 changed files with 60 additions and 15 deletions
|
@ -124,4 +124,9 @@ class BitlyTest {
|
|||
fun `clicks summary`() {
|
||||
assertNotEquals(Constants.EMPTY, bitly.bitlinks().clicks(shortUrl))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `create bitlink`() {
|
||||
assertEquals(shortUrl, bitly.bitlinks().create(domain = "bit.ly", title = "Erik's Weblog", tags = arrayOf("erik", "thauvin", "blog", "weblog"), long_url = longUrl))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue