Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MISUV-8895: Delete OptOutJourney.scala #2730

Merged
merged 3 commits into from
Jan 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
replace OptOutJourney with JourneyType.OptOutJourney OptOutSessionRep…
…ositoryHelper
  • Loading branch information
Antony100 committed Jan 16, 2025
commit c1a7d8df7046e8257cedec2903e52c2b8bd67306
4 changes: 2 additions & 2 deletions it/test/helpers/OptOutSessionRepositoryHelper.scala
Original file line number Diff line number Diff line change
@@ -16,13 +16,13 @@

package helpers

import enums.JourneyType.OptOutJourney
import models.incomeSourceDetails.{TaxYear, UIJourneySessionData}
import models.itsaStatus.ITSAStatus
import models.optout.OptOutSessionData
import repositories.ITSAStatusRepositorySupport.statusToString
import repositories.{OptOutContextData, UIJourneySessionDataRepository}
import testConstants.BaseIntegrationTestConstants.testSessionId
import utils.OptOutJourney

class OptOutSessionRepositoryHelper(repository: UIJourneySessionDataRepository) extends CustomMatchers {

@@ -34,7 +34,7 @@ class OptOutSessionRepositoryHelper(repository: UIJourneySessionDataRepository)
repository.set(
UIJourneySessionData(
sessionId = testSessionId,
journeyType = OptOutJourney.Name,
journeyType = OptOutJourney.toString,
optOutSessionData =
Some(OptOutSessionData(
Some(OptOutContextData(