Skip to content

Commit 94773c7

Browse files
committed
Remove IgnoreWithoutReason from disabled lint rules
Suppress this warning on imported tests that are breaking this rule
1 parent d89ed5e commit 94773c7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

libs/fluxc/build.gradle

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ android {
2929
consumerProguardFiles 'consumer-rules.pro'
3030
}
3131

32-
lint {
33-
disable 'IgnoreWithoutReason'
34-
}
35-
3632
testOptions {
3733
unitTests.includeAndroidResources = true
3834
}

libs/fluxc/src/test/java/org/wordpress/android/fluxc/store/StatsStoreTest.kt

+2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ class StatsStoreTest {
172172
}
173173

174174
@Test @Ignore
175+
@Suppress("IgnoreWithoutReason")
175176
fun `insight types starts with news type and ends with control type when news card was not shown`() = test {
176177
whenever(insightTypesSqlUtils.selectAddedItemsOrderedByStatus(site)).thenReturn(listOf(COMMENTS))
177178
whenever(sharedPreferences.getBoolean(INSIGHTS_MANAGEMENT_NEWS_CARD_SHOWN, false)).thenReturn(false)
@@ -185,6 +186,7 @@ class StatsStoreTest {
185186
}
186187

187188
@Test @Ignore
189+
@Suppress("IgnoreWithoutReason")
188190
fun `insight types does not start with news type when news card was shown`() = test {
189191
whenever(insightTypesSqlUtils.selectAddedItemsOrderedByStatus(site)).thenReturn(listOf(COMMENTS))
190192
whenever(sharedPreferences.getBoolean(INSIGHTS_MANAGEMENT_NEWS_CARD_SHOWN, false)).thenReturn(true)

0 commit comments

Comments
 (0)