diff options
author | Allan Wang <me@allanwang.ca> | 2018-11-24 12:18:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-24 12:18:45 -0500 |
commit | f195f068bc5c619c2504d9c003ed695f23616625 (patch) | |
tree | 0c45cc222a749e4a69dcb486db4c442fef586fe3 /app/src/test | |
parent | dc6c12ba40b179ceb11a77da8828b79d360f79eb (diff) | |
download | frost-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.kt | 4 |
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") |