mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
[GSoC] Update Dialog and Fix failing tests (#4564)
* Update Dialog and Fix failing tests * Dialog Fix
This commit is contained in:
parent
68f2b65c5b
commit
6d073d25a3
2 changed files with 5 additions and 1 deletions
|
|
@ -87,6 +87,9 @@ class ContributionsListFragmentUnitTests {
|
|||
@Mock
|
||||
private lateinit var fabGallery: FloatingActionButton
|
||||
|
||||
@Mock
|
||||
private lateinit var fabCustomGallery: FloatingActionButton
|
||||
|
||||
@Mock
|
||||
private lateinit var newConfig: Configuration
|
||||
|
||||
|
|
@ -119,6 +122,7 @@ class ContributionsListFragmentUnitTests {
|
|||
Whitebox.setInternalState(fragment, "fabPlus", fabPlus)
|
||||
Whitebox.setInternalState(fragment, "fabCamera", fabCamera)
|
||||
Whitebox.setInternalState(fragment, "fabGallery", fabGallery)
|
||||
Whitebox.setInternalState(fragment, "fabCustomGallery", fabCustomGallery)
|
||||
Whitebox.setInternalState(fragment, "fab_layout", fabLayout)
|
||||
Whitebox.setInternalState(
|
||||
fragment,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue