Skip to content

Commit

Permalink
Added test
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 18, 2024
1 parent bbfc71e commit 52716bf
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,18 @@ public void testIssue2303 () throws Exception
EPredefinedDocumentTypeIdentifier.INVOICE_EN16931_PEPPOL_V30);
assertNotNull (aSM);
}

@Test
@Ignore ("Failing at Seeburger atm")
public void testIssue2412 () throws Exception
{
final IParticipantIdentifier aPI = PeppolIdentifierFactory.INSTANCE.createParticipantIdentifierWithDefaultScheme ("0192:930030872");
final SMPClientReadOnly aSMPClient = new SMPClientReadOnly (PeppolURLProvider.INSTANCE, aPI, ESML.DIGIT_PRODUCTION);

// Currently throws SMPClientBadResponseException: Malformed XML document
// returned from SMP server
final SignedServiceMetadataType aSM = aSMPClient.getServiceMetadataOrNull (aPI,
EPredefinedDocumentTypeIdentifier.INVOICE_EN16931_PEPPOL_V30);
assertNull (aSM);
}
}

0 comments on commit 52716bf

Please sign in to comment.