aboutsummaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-11-24 12:18:45 -0500
committerGitHub <noreply@github.com>2018-11-24 12:18:45 -0500
commitf195f068bc5c619c2504d9c003ed695f23616625 (patch)
tree0c45cc222a749e4a69dcb486db4c442fef586fe3 /app/src/test
parentdc6c12ba40b179ceb11a77da8828b79d360f79eb (diff)
downloadfrost-f195f068bc5c619c2504d9c003ed695f23616625.tar.gz
frost-f195f068bc5c619c2504d9c003ed695f23616625.tar.bz2
frost-f195f068bc5c619c2504d9c003ed695f23616625.zip
Support/fdroid (#1201)v2.1.2
* Add metadata * Add images
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/facebook/requests/FbRequestTest.kt4
1 files changed, 2 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 9899a018..c5fc8e8e 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
@@ -61,8 +61,8 @@ class FbRequestTest {
fun testMenu() {
val data = AUTH.getMenuData().invoke()
assertNotNull(data)
- println(ObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(data!!))
- assertTrue(data.data.isNotEmpty())
+ 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")