From 83cc2597925d5727dcad021818bfae9e768ab00c Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 29 Dec 2018 16:30:11 -0500 Subject: Completely remove fbcookie's invoke function --- .../kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt (limited to 'app/src/androidTest') 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 -- cgit v1.2.3