Fix for CI.
This commit is contained in:
parent
517941008a
commit
b2cd573d13
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ class BitlyTest {
|
|||
@Test
|
||||
fun `token should be specified`() {
|
||||
val test = Bitly()
|
||||
if (System.getenv("CI") == "true") {
|
||||
test.accessToken = ""
|
||||
}
|
||||
assertEquals("", test.shorten("https://erik.thauvin.net/blog/"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue