Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 8, 2023
1 parent c76ea28 commit 174df46
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ public void testRedirectBasic () throws SMPServerException
try
{
final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"doctype4711");
"xml::xml##doctype4711::1");
assertNotNull (aDocTypeID);

final ISMPRedirect aRedirect = aRedirectMgr.createOrUpdateSMPRedirect (aSG,
aDocTypeID,
"bla",
Expand Down Expand Up @@ -121,7 +123,9 @@ public void testRedirectUpperCaseSG () throws SMPServerException
try
{
final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"DocType4711");
"xml::xml##DocType4711::1");
assertNotNull (aDocTypeID);

final ISMPRedirect aRedirect = aRedirectMgr.createOrUpdateSMPRedirect (aSG,
aDocTypeID,
"bla",
Expand Down Expand Up @@ -161,7 +165,8 @@ public void testConversion () throws SMPServerException
final IIdentifierFactory aIdentifierFactory = SMPMetaManager.getIdentifierFactory ();

final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"doctype4711");
"xml::xml##doctype4711::1");
assertNotNull (aDocTypeID);

// Delete existing service group
final IParticipantIdentifier aPI = aIdentifierFactory.createParticipantIdentifier (PeppolIdentifierHelper.DEFAULT_PARTICIPANT_SCHEME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ public void testRedirectBasic () throws SMPServerException
try
{
final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"doctype4711");
"xml::xml##doctype4711::1");
assertNotNull (aDocTypeID);

final ISMPRedirect aRedirect = aRedirectMgr.createOrUpdateSMPRedirect (aSG,
aDocTypeID,
"bla",
Expand Down Expand Up @@ -121,7 +123,9 @@ public void testRedirectUpperCaseSG () throws SMPServerException
try
{
final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"DocType4711");
"xml::xml##DocType4711::1");
assertNotNull (aDocTypeID);

final ISMPRedirect aRedirect = aRedirectMgr.createOrUpdateSMPRedirect (aSG,
aDocTypeID,
"bla",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ public void testServiceRegistration () throws SMPServerException
final XMLOffsetDateTime aEndDT = aStartDT.plusYears (1);
final IProcessIdentifier aProcessID = aIdentifierFactory.createProcessIdentifier (PeppolIdentifierHelper.DEFAULT_PROCESS_SCHEME,
"testproc");
assertNotNull (aProcessID);
final IDocumentTypeIdentifier aDocTypeID = aIdentifierFactory.createDocumentTypeIdentifier (PeppolIdentifierHelper.DOCUMENT_TYPE_SCHEME_BUSDOX_DOCID_QNS,
"testdoctype");
"xml::xml##testdoctype::1");
assertNotNull (aDocTypeID);

{
// Create a new service information
Expand Down

0 comments on commit 174df46

Please sign in to comment.