mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 14:23:55 +01:00
parent
988b83dc32
commit
c9dfc03a20
122 changed files with 328 additions and 287 deletions
|
|
@ -39,7 +39,7 @@ class ProfileActivityTest {
|
|||
|
||||
@Before
|
||||
fun setUp() {
|
||||
MockitoAnnotations.initMocks(this)
|
||||
MockitoAnnotations.openMocks(this)
|
||||
activity = Robolectric.buildActivity(ProfileActivity::class.java).create().get()
|
||||
mockContext = ApplicationProvider.getApplicationContext()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ class AchievementsFragmentUnitTests {
|
|||
|
||||
@Before
|
||||
fun setUp() {
|
||||
MockitoAnnotations.initMocks(this)
|
||||
MockitoAnnotations.openMocks(this)
|
||||
context = ApplicationProvider.getApplicationContext()
|
||||
menuItem = RoboMenuItem(context)
|
||||
AppAdapter.set(TestAppAdapter())
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class LevelControllerTest {
|
|||
*/
|
||||
@Before
|
||||
fun setUp() {
|
||||
MockitoAnnotations.initMocks(this)
|
||||
MockitoAnnotations.openMocks(this)
|
||||
levelController = LevelController()
|
||||
levelInfo = LevelController.LevelInfo.from(
|
||||
IMAGES_UPLOADED_SAMPLE_VALUE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue