Replaced Butterknife with Viewbinding, and dealt the a whole bunch of code quality warnings (#5379)

This commit is contained in:
Paul Hawke 2023-11-10 08:03:12 -06:00 committed by GitHub
parent b113f3c986
commit 9620f6eee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 49 deletions

View file

@ -56,9 +56,6 @@ class MoreBottomSheetFragmentUnitTests {
@Mock
private lateinit var store: JsonKvStore
@Mock
private lateinit var morePeerReview: TextView
@Mock
private lateinit var pageEditClient: PageEditClient
@ -76,7 +73,6 @@ class MoreBottomSheetFragmentUnitTests {
fragmentTransaction.commitNowAllowingStateLoss()
Whitebox.setInternalState(fragment, "store", store)
Whitebox.setInternalState(fragment, "morePeerReview", morePeerReview)
Whitebox.setInternalState(fragment, "pageEditClient", pageEditClient)
`when`(store.getBoolean(CommonsApplication.IS_LIMITED_CONNECTION_MODE_ENABLED)).thenReturn(