Skip to content

Commit e4d8ffe

Browse files
committed
lint failure
1 parent d892d13 commit e4d8ffe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/test/java/com/duckduckgo/app/email/EmailJavascriptInterfaceTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.duckduckgo.app.email
1818

19+
import android.annotation.SuppressLint
1920
import android.webkit.WebView
2021
import androidx.test.ext.junit.runners.AndroidJUnit4
2122
import com.duckduckgo.app.browser.DuckDuckGoUrlDetectorImpl
@@ -48,6 +49,7 @@ class EmailJavascriptInterfaceTest {
4849
lateinit var testee: EmailJavascriptInterface
4950
private var counter = 0
5051

52+
@SuppressLint("DenyListedApi")
5153
@Before
5254
fun setup() {
5355
autofillFeature = com.duckduckgo.autofill.api.FakeAutofillFeature.create()
@@ -128,6 +130,7 @@ class EmailJavascriptInterfaceTest {
128130
assertEquals(1, counter)
129131
}
130132

133+
@SuppressLint("DenyListedApi")
131134
@Test
132135
fun whenShowTooltipAndFeatureDisabledThenLambdaNotCalled() {
133136
whenever(mockWebView.url).thenReturn(NON_EMAIL_URL)

0 commit comments

Comments
 (0)