Fix for CI.

This commit is contained in:
Erik C. Thauvin 2020-02-25 19:01:14 -08:00
parent 517941008a
commit b2cd573d13

View file

@ -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/"))
}