Skip to content

Commit

Permalink
Merge pull request #8 from hmrc/APB-716
Browse files Browse the repository at this point in the history
[AO][APB-716] fix gg-proxy api schema versions
  • Loading branch information
frankoid authored May 15, 2017
2 parents 6a3e312 + 8435cfc commit 8b39614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class GovernmentGatewayProxyConnector @Inject()(@Named("government-gateway-proxy
</GsoAdminGetCredentialsForDirectEnrolmentsXmlInput>.toString()

private def GsoAdminGetUserDetailsXmlInput(credentialIdentifier: String): String =
<GsoAdminGetUserDetailsXmlInput xmlns="urn:GSO-System-Services:external:2.13.3:GsoAdminGetUserDetailsXmlInput">
<GsoAdminGetUserDetailsXmlInput xmlns="urn:GSO-System-Services:external:2.14.4:GsoAdminGetUserDetailsXmlInput">
<DelegatedAccessIdentifier>HMRC</DelegatedAccessIdentifier>
<CredentialIdentifier>{credentialIdentifier}</CredentialIdentifier>
</GsoAdminGetUserDetailsXmlInput>.toString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ trait GovernmentGatewayProxyStubs {
.willReturn(aResponse()
.withBody(
s"""
|<GsoAdminGetUserDetailsXmlOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RequestID="650EC864CCD14B3EAB866F7876250D28" xmlns="urn:GSO-SystemServices:external:2.13.3:GsoAdminGetUserDetailsXmlOutput">
|<GsoAdminGetUserDetailsXmlOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RequestID="650EC864CCD14B3EAB866F7876250D28" xmlns="urn:GSO-SystemServices:external:2.14.4:GsoAdminGetUserDetailsXmlOutput">
| <CredentialName>Some Agency</CredentialName>
| <Description />
| <EmailAddress />
Expand All @@ -84,7 +84,7 @@ trait GovernmentGatewayProxyStubs {
.willReturn(aResponse()
.withBody(
s"""
|<GsoAdminGetUserDetailsXmlOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RequestID="650EC864CCD14B3EAB866F7876250D28" xmlns="urn:GSO-SystemServices:external:2.13.3:GsoAdminGetUserDetailsXmlOutput">
|<GsoAdminGetUserDetailsXmlOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" RequestID="650EC864CCD14B3EAB866F7876250D28" xmlns="urn:GSO-SystemServices:external:2.14.4:GsoAdminGetUserDetailsXmlOutput">
|</GsoAdminGetUserDetailsXmlOutput>
|""".stripMargin)))
this
Expand Down

0 comments on commit 8b39614

Please sign in to comment.