Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Ppa (EXPOSUREAPP-14713) (#5834)
Browse files Browse the repository at this point in the history
* Fix Unknown flag

* Update gradle.properties
  • Loading branch information
mtwalli authored Feb 9, 2023
1 parent 5cbec7f commit 6e4a2e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import de.rki.coronawarnapp.risk.RiskState
import de.rki.coronawarnapp.risk.storage.RiskLevelStorage
import de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaData
import de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaData.PPAKeySubmissionType
import de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaData.PPALastSubmissionFlowScreen.UNRECOGNIZED
import de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaData.PPALastSubmissionFlowScreen.SUBMISSION_FLOW_SCREEN_UNKNOWN
import de.rki.coronawarnapp.srs.core.model.SrsSubmissionType
import de.rki.coronawarnapp.util.TimeStamper
import de.rki.coronawarnapp.util.toLocalDateUtc
Expand Down Expand Up @@ -54,7 +54,7 @@ class AnalyticsSrsKeySubmissionRepository @Inject constructor(
submittedInBackground = false
submittedAfterCancel = false
submittedAfterSymptomFlow = true
lastSubmissionFlowScreen = UNRECOGNIZED
lastSubmissionFlowScreen = SUBMISSION_FLOW_SCREEN_UNKNOWN
advancedConsentGiven = false
hoursSinceTestResult = 0
hoursSinceTestRegistration = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal class AnalyticsSrsKeySubmissionRepositoryTest : BaseTest() {
@MockK lateinit var ewRiskLevelResult: EwRiskLevelResult
@MockK lateinit var ptRiskLevelResult: PtRiskLevelResult
private val now = Instant.now()
private val base64 = "CAEgATD///////////8BSAFoAXD///////////8BeAKAAQY="
private val base64 = "CAEgAUgBaAFw////////////AXgCgAEG"

@BeforeEach
fun setup() {
Expand Down Expand Up @@ -93,7 +93,7 @@ internal class AnalyticsSrsKeySubmissionRepositoryTest : BaseTest() {
fun `collectSrsSubmissionAnalytics - checkins`() = runTest {
instance().collectSrsSubmissionAnalytics(SrsSubmissionType.SRS_RAPID_PCR, true)
coVerify {
storage.saveSrsPpaData("CAEgATD///////////8BSAFoAXD///////////8BeAGAAQY=")
storage.saveSrsPpaData("CAEgAUgBaAFw////////////AXgBgAEG")
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ kapt.include.compile.classpath=false
VERSION_MAJOR=3
VERSION_MINOR=1
VERSION_PATCH=0
VERSION_BUILD=5
VERSION_BUILD=6

0 comments on commit 6e4a2e3

Please sign in to comment.