From 0b087c9497670449e5d747642567b949ee179311 Mon Sep 17 00:00:00 2001 From: Scott Goodwin <33629936+scott-goodwin@users.noreply.github.com> Date: Tue, 20 Dec 2022 05:30:27 +0000 Subject: [PATCH] DL-9289 - changed default response for penalities endpoint --- app/v1/models/response/penalties/PenaltiesResponse.scala | 2 +- test/v1/constants/PenaltiesConstants.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/v1/models/response/penalties/PenaltiesResponse.scala b/app/v1/models/response/penalties/PenaltiesResponse.scala index b747ca35..628db149 100644 --- a/app/v1/models/response/penalties/PenaltiesResponse.scala +++ b/app/v1/models/response/penalties/PenaltiesResponse.scala @@ -198,7 +198,7 @@ object LateSubmissionPenalty { } case class LateSubmissionPenaltySummary( - activePoints: BigDecimal, + activePenaltyPoints: BigDecimal, inactivePenaltyPoints: Int, periodOfComplianceAchievement: String, regimeThreshold: Int, diff --git a/test/v1/constants/PenaltiesConstants.scala b/test/v1/constants/PenaltiesConstants.scala index e92289c5..0da18bde 100644 --- a/test/v1/constants/PenaltiesConstants.scala +++ b/test/v1/constants/PenaltiesConstants.scala @@ -149,7 +149,7 @@ object PenaltiesConstants { val testLateSubmissionPenalty: LateSubmissionPenalty = LateSubmissionPenalty( summary = LateSubmissionPenaltySummary( - activePoints = 2, + activePenaltyPoints = 2, inactivePenaltyPoints = 2, periodOfComplianceAchievement = "2022-10-11", regimeThreshold = 2, @@ -471,7 +471,7 @@ object PenaltiesConstants { ) val upstreamTestLateSubmissionPenaltySummaryJson: JsObject = Json.obj( - "activePoints" -> 2, + "activePenaltyPoints" -> 2, "inactivePenaltyPoints" -> 2, "periodOfComplianceAchievement" -> "2022-10-11", "regimeThreshold" -> 2,