Skip to content
Snippets Groups Projects
Commit 85fc3447 authored by Mohamed Metwalli's avatar Mohamed Metwalli
Browse files

Merge branch 'release/1.11.x' into feature/4478-onboarding-screenshots

parents 5d2a48be 10e152a0
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,6 @@ import de.rki.coronawarnapp.exception.reporting.ReportedException ...@@ -6,6 +6,6 @@ import de.rki.coronawarnapp.exception.reporting.ReportedException
class CwaSecurityException(cause: Throwable) : ReportedException( class CwaSecurityException(cause: Throwable) : ReportedException(
ErrorCodes.CWA_SECURITY_PROBLEM.code, ErrorCodes.CWA_SECURITY_PROBLEM.code,
"something went wrong during a critical part of the application ensuring security, please refer" + "something went wrong during a critical part of the application ensuring security, please refer" +
"to the details for more information", " to the details for more information",
cause cause
) )
...@@ -198,6 +198,7 @@ class SubmissionRepository @Inject constructor( ...@@ -198,6 +198,7 @@ class SubmissionRepository @Inject constructor(
LocalData.registrationToken(null) LocalData.registrationToken(null)
LocalData.devicePairingSuccessfulTimestamp(0L) LocalData.devicePairingSuccessfulTimestamp(0L)
LocalData.initialPollingForTestResultTimeStamp(0L) LocalData.initialPollingForTestResultTimeStamp(0L)
LocalData.initialTestResultReceivedTimestamp(0L)
LocalData.isAllowedToSubmitDiagnosisKeys(false) LocalData.isAllowedToSubmitDiagnosisKeys(false)
LocalData.isTestResultNotificationSent(false) LocalData.isTestResultNotificationSent(false)
} }
......
...@@ -97,6 +97,7 @@ class SubmissionRepositoryTest { ...@@ -97,6 +97,7 @@ class SubmissionRepositoryTest {
val submissionRepository = createInstance(scope = this) val submissionRepository = createInstance(scope = this)
every { LocalData.initialPollingForTestResultTimeStamp(any()) } just Runs every { LocalData.initialPollingForTestResultTimeStamp(any()) } just Runs
every { LocalData.initialTestResultReceivedTimestamp(any()) } just Runs
every { LocalData.isAllowedToSubmitDiagnosisKeys(any()) } just Runs every { LocalData.isAllowedToSubmitDiagnosisKeys(any()) } just Runs
every { LocalData.isTestResultNotificationSent(any()) } just Runs every { LocalData.isTestResultNotificationSent(any()) } just Runs
...@@ -106,6 +107,7 @@ class SubmissionRepositoryTest { ...@@ -106,6 +107,7 @@ class SubmissionRepositoryTest {
LocalData.registrationToken(null) LocalData.registrationToken(null)
LocalData.devicePairingSuccessfulTimestamp(0L) LocalData.devicePairingSuccessfulTimestamp(0L)
LocalData.initialPollingForTestResultTimeStamp(0L) LocalData.initialPollingForTestResultTimeStamp(0L)
LocalData.initialTestResultReceivedTimestamp(0L)
LocalData.isAllowedToSubmitDiagnosisKeys(false) LocalData.isAllowedToSubmitDiagnosisKeys(false)
LocalData.isTestResultNotificationSent(false) LocalData.isTestResultNotificationSent(false)
} }
......
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