Skip to content

Commit

Permalink
API-8024 - Remove COVERAGE-OFF for TpaConnector
Browse files Browse the repository at this point in the history
anjumabbas5 committed Dec 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7d67592 commit 7dd612e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/uk/gov/hmrc/apipublisher/connectors/TpaConnector.scala
Original file line number Diff line number Diff line change
@@ -36,8 +36,6 @@ class TpaConnector @Inject() (config: TpaConnector.Config, http: HttpClientV2)(i

protected val serviceBaseUrl: String = config.serviceBaseUrl

// This only uses library code.
// $COVERAGE-OFF$
def deleteSubscriptions(apiContext: String, versionNbr: String)(implicit hc: HeaderCarrier): Future[Unit] = {
http.delete(url"$serviceBaseUrl/apis/$apiContext/versions/$versionNbr/subscribers")
.execute[Either[UpstreamErrorResponse, HttpResponse]]
@@ -47,5 +45,4 @@ class TpaConnector @Inject() (config: TpaConnector.Config, http: HttpClientV2)(i
case Left(err) => throw err
}
}
// $COVERAGE-ON$
}

0 comments on commit 7dd612e

Please sign in to comment.