Skip to content

Commit

Permalink
addressed some todos
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertLaverick committed Dec 5, 2024
1 parent 22f59b9 commit 6bd2634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class AuditServiceSpec extends PlaySpec with TestXml with BeforeAndAfterEach wit
when(appConfig.newAuditingEnabled).thenReturn(true)
when(auditConnector.sendExtendedEvent(any)(any, any)).thenReturn(Future.successful(AuditResult.Success))
}
//TODO: Can we add 'Future.failed' testing?

"auditMessage" should {

"silently returns right on error with log" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ class SubmissionMessageServiceSpec extends PlaySpec with ScalaFutures with Eithe
result mustBe Right(EISSubmissionResponse("ok", "IE815", "correlationId"))
}

//TODO: EISErrorResponseDetails!!!!!!
"return an EISErrorResponsePresentation" in {
"return an EISErrorResponseDetails" in {
val testError =
EISErrorResponseDetails(INTERNAL_SERVER_ERROR, Instant.now(), "message", "debug", "cId", None)

Expand Down

0 comments on commit 6bd2634

Please sign in to comment.