Skip to content

Commit def69b8

Browse files
PIL-2249: Small clean up following the submission frontend merge (#642)
The digital team will merge submissions frontend and Phase 1 repositories. This will help to support a smooth handover to live services. Conduct the audit Remove as much duplication as possible
1 parent c7a11fb commit def69b8

File tree

4 files changed

+2
-55
lines changed

4 files changed

+2
-55
lines changed

app/controllers/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import java.time.LocalDate
2222
package object controllers {
2323
private val now = LocalDate.now
2424

25-
/** @param accountingDetails
26-
* is a sequence of AccountingPeriodDetails
25+
/** @param request
26+
* is of type ObligationsAndSubmissionsSuccessDataRequest[?] and contains a sequence of AccountingPeriodDetails
2727
* @return
2828
* a filtered sequence of AccountingPeriodDetails, sorted in reverse chronological order, ensuring that we remove any periods where the start
2929
* date is after today

app/models/btn/ApiSuccess.scala

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/models/btn/ApiSuccessResponse.scala

Lines changed: 0 additions & 25 deletions
This file was deleted.

test/controllers/btn/BTNBeforeStartControllerSpec.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ class BTNBeforeStartControllerSpec extends SpecBase {
120120

121121
"redirect to BTN error page when no obligation data is found" in {
122122
val testApplication: Application = applicationBuilder(subscriptionLocalData = Some(ua), userAnswers = Some(emptyUserAnswers))
123-
.configure("features.phase2ScreensEnabled" -> true)
124123
.overrides(
125124
bind[SubscriptionConnector].toInstance(mockSubscriptionConnector),
126125
bind[ObligationsAndSubmissionsService].toInstance(mockObligationsAndSubmissionsService)

0 commit comments

Comments
 (0)