aboutsummaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-12-29 16:32:00 -0500
committerGitHub <noreply@github.com>2018-12-29 16:32:00 -0500
commit7661bbfc9b8f34bf9d92dc08a9fcd7cc6ec7cbb3 (patch)
tree42de5f3422a93f893c8acce99f2bce23e699c18c /app/src/androidTest
parenta9acbb16b241b44d3ecd2a75c2bde31be575e2b5 (diff)
parent83cc2597925d5727dcad021818bfae9e768ab00c (diff)
downloadfrost-7661bbfc9b8f34bf9d92dc08a9fcd7cc6ec7cbb3.tar.gz
frost-7661bbfc9b8f34bf9d92dc08a9fcd7cc6ec7cbb3.tar.bz2
frost-7661bbfc9b8f34bf9d92dc08a9fcd7cc6ec7cbb3.zip
Merge pull request #1271 from AllanWang/theme
Fix like button and disable cookie update, resolves #1203
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt b/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt
new file mode 100644
index 00000000..d5c8d2e1
--- /dev/null
+++ b/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt
@@ -0,0 +1,13 @@
+package com.pitchedapps.frost.facebook
+
+import android.webkit.CookieManager
+import org.junit.Test
+import kotlin.test.assertTrue
+
+class FbCookieTest {
+
+ @Test
+ fun managerAcceptsCookie() {
+ assertTrue(CookieManager.getInstance().acceptCookie(), "Cookie manager should accept cookie by default")
+ }
+} \ No newline at end of file