diff options
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 |