aboutsummaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-03-11 22:21:40 -0400
committerGitHub <noreply@github.com>2018-03-11 22:21:40 -0400
commit6b85bc72a864e65d99ae65802ce03f977a98c906 (patch)
treed8a1a5fd443aef4b670912b8f48ce2a3725d470a /app/src/test
parentee4f2eab359b83618d314ded2fa3d442c280bbfa (diff)
downloadfrost-6b85bc72a864e65d99ae65802ce03f977a98c906.tar.gz
frost-6b85bc72a864e65d99ae65802ce03f977a98c906.tar.bz2
frost-6b85bc72a864e65d99ae65802ce03f977a98c906.zip
misc (#781)v1.8.3
* Rename image vars * Add black media option, resolves #726 * Update changelog * Fix menu parsin * Update changelog * Fix menu badges
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/facebook/FbRequestTest.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbRequestTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbRequestTest.kt
index 9f44779f..07e02249 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbRequestTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbRequestTest.kt
@@ -66,6 +66,7 @@ class FbRequestTest {
val data = AUTH.getMenuData().invoke()
assertNotNull(data)
println(ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(data!!))
+ assertTrue(data.data.isNotEmpty())
assertTrue(data.footer.hasContent, "Footer may be badly parsed")
val items = data.flatMapValid()
assertTrue(items.size > 15, "Something may be badly parsed")