Skip to content

Commit

Permalink
DDCNL-9229 | Removed BarChartCalculator.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
jesskay2 committed Nov 27, 2024
1 parent 3cfe64e commit 50ee3d0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 47 deletions.
1 change: 0 additions & 1 deletion app/uk/gov/hmrc/nisp/views/includes/BarChart.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*@

@import uk.gov.hmrc.nisp.views.html.includes.newComponents.{P, H3}
@import uk.gov.hmrc.nisp.views.utils.BarChartCalculator
@import uk.gov.hmrc.nisp.views.formatting.NispMoney

@this()
Expand Down
32 changes: 0 additions & 32 deletions app/uk/gov/hmrc/nisp/views/utils/BarChartCalculator.scala

This file was deleted.

28 changes: 14 additions & 14 deletions test/uk/gov/hmrc/nisp/views/statePension/StatePensionViewSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -617,7 +617,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -958,7 +958,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -1565,7 +1565,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -1850,7 +1850,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -1995,7 +1995,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2136,7 +2136,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2284,7 +2284,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2436,7 +2436,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2587,7 +2587,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2737,7 +2737,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -2890,7 +2890,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -3046,7 +3046,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down Expand Up @@ -3323,7 +3323,7 @@ class StatePensionViewSpec

NationalInsuranceTaxYearBuilder("2015-16", underInvestigation = false),
NationalInsuranceTaxYearBuilder("2014-15", qualifying = false, underInvestigation = false),
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false) /*payable = true*/
NationalInsuranceTaxYearBuilder("2013-14", underInvestigation = false)
),
reducedRateElection = false
)
Expand Down

0 comments on commit 50ee3d0

Please sign in to comment.