Skip to content

Commit

Permalink
Fixed some test cases which were failing because some test endpoints …
Browse files Browse the repository at this point in the history
…are Not reachable now
  • Loading branch information
aaron-kumar committed Dec 7, 2023
1 parent 99b7230 commit c0f2011
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void simpleHeaderWithProvidedBusDoxDocIdQnsScheme() throws PeppolExceptio

Endpoint endpoint = client.getEndpoint(
Header.newInstance()
.receiver(ParticipantIdentifier.of("9915:helger"))
.receiver(ParticipantIdentifier.of("0007:baswareapas4testendpoint"))
.documentType(DocumentTypeIdentifier.of(
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##" +
"urn:cen.eu:en16931:2017#compliant#" +
Expand All @@ -135,7 +135,7 @@ public void simpleEndpoint() throws PeppolException {
.build();

Endpoint endpoint = client.getEndpoint(
ParticipantIdentifier.of("9915:helger"),
ParticipantIdentifier.of("0007:baswareapas4testendpoint"),
DocumentTypeIdentifier.of(
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##" +
"urn:cen.eu:en16931:2017#compliant#" +
Expand All @@ -154,7 +154,7 @@ public void simpleEndpointWithProvidedBusDoxDocIdQnsScheme() throws PeppolExcept
.build();

Endpoint endpoint = client.getEndpoint(
ParticipantIdentifier.of("9915:helger"),
ParticipantIdentifier.of("0007:baswareapas4testendpoint"),
DocumentTypeIdentifier.of(
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##" +
"urn:cen.eu:en16931:2017#compliant#" +
Expand All @@ -174,7 +174,7 @@ public void simpleEndpointWithHeaderAndProvidedBusDoxDocIdQnsScheme() throws Pep

Header header = Header.newInstance()
.sender(ParticipantIdentifier.of("9908:invalid"))
.receiver(ParticipantIdentifier.of("9915:helger"))
.receiver(ParticipantIdentifier.of("0007:baswareapas4testendpoint"))
.process(ProcessIdentifier.of("urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"))
.documentType(DocumentTypeIdentifier.of(
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class BdxlLocatorTest {
public void simple() throws Exception {
MetadataLocator locator = new BdxlLocator(Mode.of("TEST"));
Assert.assertEquals(
locator.lookup(ParticipantIdentifier.of("9908:810418052")),
locator.lookup(ParticipantIdentifier.of("0192:810418052")),
URI.create("http://test-smp.difi.no/")
);
}
Expand Down

0 comments on commit c0f2011

Please sign in to comment.