Skip to content

Commit

Permalink
APID-192 - review comments applied
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprakashiv committed Jul 8, 2021
1 parent 36a46a0 commit e36ea6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package uk.gov.hmrc.apiplatformoutboundsoap.connectors

import org.apache.http.HttpStatus
import play.api.http.HeaderNames.CONTENT_TYPE
import play.api.{Configuration, Logger, LoggerLike}
import play.api.{Logger, LoggerLike}
import uk.gov.hmrc.apiplatformoutboundsoap.config.AppConfig
import uk.gov.hmrc.apiplatformoutboundsoap.models.SoapRequest
import uk.gov.hmrc.http.HttpReads.Implicits._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import org.mockito.{ArgumentCaptor, ArgumentMatchersSugar, MockitoSugar}
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
import org.scalatestplus.play.guice.GuiceOneAppPerSuite
import play.api.{Application, Configuration}
import play.api.Application
import play.api.http.Status.{BAD_REQUEST, OK}
import play.api.inject.guice.GuiceApplicationBuilder
import play.api.libs.json.{JsBoolean, Json}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class OutboundServiceSpec extends AnyWordSpec with Matchers with GuiceOneAppPerS
messageCaptor.getValue.messageId shouldBe messageId
messageCaptor.getValue.globalId shouldBe expectedGlobalId
messageCaptor.getValue.createDateTime shouldBe expectedCreateDateTime
messageCaptor.getValue.asInstanceOf[SentOutboundSoapMessage].ccnHttpStatus shouldBe httpCode
messageCaptor.getValue.ccnHttpStatus shouldBe httpCode
messageCaptor.getValue.notificationUrl shouldBe messageRequestFullAddressing.notificationUrl
messageCaptor.getValue.destinationUrl shouldBe "http://example.com:1234/CCN2.Service.Customs.EU.ICS.RiskAnalysisOrchestrationBAS"
}
Expand All @@ -243,7 +243,7 @@ class OutboundServiceSpec extends AnyWordSpec with Matchers with GuiceOneAppPerS
messageCaptor.getValue.messageId shouldBe messageId
messageCaptor.getValue.globalId shouldBe expectedGlobalId
messageCaptor.getValue.createDateTime shouldBe expectedCreateDateTime
messageCaptor.getValue.asInstanceOf[FailedOutboundSoapMessage].ccnHttpStatus shouldBe httpCode
messageCaptor.getValue.ccnHttpStatus shouldBe httpCode
messageCaptor.getValue.notificationUrl shouldBe messageRequestFullAddressing.notificationUrl
messageCaptor.getValue.destinationUrl shouldBe "http://example.com:1234/CCN2.Service.Customs.EU.ICS.RiskAnalysisOrchestrationBAS"
}
Expand Down

0 comments on commit e36ea6b

Please sign in to comment.