Skip to content

Commit

Permalink
Merge pull request #943 from hmrc/DL-8860-typo
Browse files Browse the repository at this point in the history
DL-8860 - typo
  • Loading branch information
scott-goodwin authored Oct 14, 2022
2 parents a729113 + 97b4655 commit e866828
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/v1/models/response/penalties/PenaltiesResponse.scala
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ object LateSubmissionPenalty {
case class LateSubmissionPenaltySummary(
activePoints: BigDecimal,
inactivePenaltyPoints: Int,
periodofComplianceAchievement: String,
periodOfComplianceAchievement: String,
regimeThreshold: Int,
penaltyChargeAmount: BigDecimal
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"summary": {
"activePenaltyPoints": 2,
"inactivePenaltyPoints": 10,
"periodofComplianceAchievement": "2023-10-30",
"periodOfComplianceAchievement": "2023-10-30",
"regimeThreshold": 10,
"penaltyChargeAmount": 684.25
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"minimum": 0,
"multipleOf": 1
},
"periodofComplianceAchievement": {
"periodOfComplianceAchievement": {
"description": "This is the date that penalty points expire if customer meets requirements.",
"type": "string",
"example": "2023-04-01"
Expand All @@ -88,7 +88,7 @@
"required": [
"activePenaltyPoints",
"inactivePenaltyPoints",
"periodofComplianceAchievement",
"periodOfComplianceAchievement",
"regimeThreshold",
"penaltyChargeAmount"
],
Expand Down
4 changes: 2 additions & 2 deletions test/v1/constants/PenaltiesConstants.scala
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ object PenaltiesConstants {
summary = LateSubmissionPenaltySummary(
activePoints = 2,
inactivePenaltyPoints = 2,
periodofComplianceAchievement = "2022-10-11",
periodOfComplianceAchievement = "2022-10-11",
regimeThreshold = 2,
penaltyChargeAmount = 123
),
Expand Down Expand Up @@ -473,7 +473,7 @@ object PenaltiesConstants {
val upstreamTestLateSubmissionPenaltySummaryJson: JsObject = Json.obj(
"activePoints" -> 2,
"inactivePenaltyPoints" -> 2,
"periodofComplianceAchievement" -> "2022-10-11",
"periodOfComplianceAchievement" -> "2022-10-11",
"regimeThreshold" -> 2,
"penaltyChargeAmount" -> 123
)
Expand Down

0 comments on commit e866828

Please sign in to comment.