diff options
author | Allan Wang <me@allanwang.ca> | 2019-01-03 23:50:46 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-01-03 23:50:46 -0500 |
commit | a8c734070c67d84e10f617602467339f113521b4 (patch) | |
tree | c13e344a33e45959e98609aa682231e102bfbadd /app/src/test/kotlin/com/pitchedapps/frost/facebook | |
parent | 82f79a7d368caad4068d97051ad8deddd05b4f7e (diff) | |
download | frost-a8c734070c67d84e10f617602467339f113521b4.tar.gz frost-a8c734070c67d84e10f617602467339f113521b4.tar.bz2 frost-a8c734070c67d84e10f617602467339f113521b4.zip |
Add custom gradle function and ignore some tests
Diffstat (limited to 'app/src/test/kotlin/com/pitchedapps/frost/facebook')
-rw-r--r-- | app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt index 3a7abec4..ec765448 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt @@ -23,6 +23,7 @@ import com.pitchedapps.frost.internal.USER_ID import com.pitchedapps.frost.internal.authDependent import okhttp3.Call import org.junit.BeforeClass +import org.junit.Ignore import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertFalse @@ -69,12 +70,13 @@ class FbRequestTest { AUTH.markNotificationRead(notifId).call.assertNoError() } + @Ignore("Broken as of 2019/01/03; however, this was never used in production to begin with") @Test fun fullSizeImage() { - val fbid = 10155966932992838L // google's current cover photo + val fbid = 10150706277522838L // google's current cover photo val url = AUTH.getFullSizedImage(fbid).invoke() println(url) - assertEquals(url?.startsWith("https://scontent"), true) + assertEquals(true, url?.startsWith("https://scontent"), "Bad start for url $url") } @Test |