Skip to content

Commit

Permalink
Merge pull request #977 from hmrc/DL-9289
Browse files Browse the repository at this point in the history
DL-9289 - changed default response for penalities endpoint
  • Loading branch information
ahlee0 authored Dec 20, 2022
2 parents 7a27b0b + 0b087c9 commit ea44fd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -198,7 +198,7 @@ object LateSubmissionPenalty {
}

case class LateSubmissionPenaltySummary(
activePoints: BigDecimal,
activePenaltyPoints: BigDecimal,
inactivePenaltyPoints: Int,
periodOfComplianceAchievement: String,
regimeThreshold: Int,
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 @@ -149,7 +149,7 @@ object PenaltiesConstants {

val testLateSubmissionPenalty: LateSubmissionPenalty = LateSubmissionPenalty(
summary = LateSubmissionPenaltySummary(
activePoints = 2,
activePenaltyPoints = 2,
inactivePenaltyPoints = 2,
periodOfComplianceAchievement = "2022-10-11",
regimeThreshold = 2,
Expand Down Expand Up @@ -471,7 +471,7 @@ object PenaltiesConstants {
)

val upstreamTestLateSubmissionPenaltySummaryJson: JsObject = Json.obj(
"activePoints" -> 2,
"activePenaltyPoints" -> 2,
"inactivePenaltyPoints" -> 2,
"periodOfComplianceAchievement" -> "2022-10-11",
"regimeThreshold" -> 2,
Expand Down

0 comments on commit ea44fd8

Please sign in to comment.