mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Bugfix/fix upload presenter tests (#3158)
* Revert "Merge branch 'backend-overhaul' into master" This reverts commit0090f24257, reversing changes made to9bccbfe443. * * Fixed upload presenter tests * Deleted app/src/main/res/values-en-gb/error.xml
This commit is contained in:
parent
844e0903f0
commit
f64e6eb432
2 changed files with 1 additions and 17 deletions
|
|
@ -59,13 +59,7 @@ class UploadPresenterTest {
|
|||
verify(view)?.isLoggedIn
|
||||
verify(view)?.showProgress(true)
|
||||
verify(repository)?.buildContributions()
|
||||
val buildContributions = repository?.buildContributions()
|
||||
buildContributions?.test()?.assertNoErrors()?.assertValue {
|
||||
verify(repository)?.prepareService()
|
||||
verify(view)?.showProgress(false)
|
||||
verify(view)?.showMessage(ArgumentMatchers.any(Int::class.java))
|
||||
true
|
||||
}
|
||||
verify(repository)?.buildContributions()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue