Skip to content

Commit

Permalink
DDCE-5804: update test endpoint (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
MRBeresford authored Nov 13, 2024
1 parent ea81745 commit b7f9a99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/testOnlyDoNotUseInAppConf.routes
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# Add all the application routes to the prod.routes file
-> / prod.Routes

GET /test-only/download/envelopes/:envelopeId connectors.testOnly.DownloadEnvelope.downloadEnvelope(envelopeId: String)
GET /ask-for-copy-of-your-corporation-tax-utr/test-only/download/envelopes/:envelopeId connectors.testOnly.DownloadEnvelope.downloadEnvelope(envelopeId: String)
2 changes: 1 addition & 1 deletion test/connectors/testOnly/DownloadEnvelopeSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import play.api.test.Helpers._
class DownloadEnvelopeSpec extends SpecBase with ScalaFutures {

val fakeRequestDownloadEnvelope: FakeRequest[AnyContentAsEmpty.type] =
FakeRequest("GET", "/test-only/download/envelopes/TestEnvelope")
FakeRequest("GET", "/ask-for-copy-of-your-corporation-tax-utr/test-only/download/envelopes/TestEnvelope")

val mockHttpClientV2: HttpClientV2 = mock[HttpClientV2]
val executeDownloadEnvelopeRequest: ExecuteDownloadEnvelopeRequest = mock[ExecuteDownloadEnvelopeRequest]
Expand Down

0 comments on commit b7f9a99

Please sign in to comment.