Skip to content
Snippets Groups Projects
Unverified Commit df7a5fbb authored by Kolya Opahle's avatar Kolya Opahle Committed by GitHub
Browse files

Cannot delete tests older than 21 days - DE: Tests die älter als 21 Tage sind,...

Cannot delete tests older than 21 days - DE: Tests die älter als 21 Tage sind, können nicht gelöscht werden (EXPOSUREAPP-2398) (#1586)

* 1. Replaced redundant uiStateState during test result fetch with a NetworkRequestWrapper that is able to represent multiple states. This allows for better request state handling throughout the app
2. Completely removed the SubmissionViewModel
3. Failure to fetch the test should now always display the invalid test card on the home screen

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Keep displaying fetching card on server errors as this usually does not indicate any problems with the test itself

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Fixing unit tests (mostly just syntax, one test case changed due to new card)

Signed-off-by: default avatarKolya Opahle <k.opahle@sap.com>

* Promoted unknown host exception to server exception

Co-authored-by: default avatarchris-cwa <69595386+chris-cwa@users.noreply.github.com>
Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent 3bd7bf90
No related branches found
No related tags found
No related merge requests found
Showing
with 255 additions and 194 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment