Skip to content

Commit

Permalink
use another custom uid in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
gofal committed Sep 10, 2021
1 parent cca5bc1 commit de4c382
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/Desktop/Network/DicomServerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ public void Send_KnownSOPClass_SendSucceeds()
[Fact, TestPriority(1)]
public void Send_PrivateNotRegisteredSOPClass_SendFails()
{
var uid = new DicomUID("1.1.1.1", "Private Fo-Dicom Storage", DicomUidType.SOPClass);
// use a different UID that the one in test Send_PrivateRegisteredSOPClass_SendSucceeds, which will be registered in DicomUID class.
var uid = new DicomUID("1.1.1.2", "Private Fo-Dicom Storage", DicomUidType.SOPClass);
var ds = new DicomDataset(
new DicomUniqueIdentifier(DicomTag.SOPClassUID, uid),
new DicomUniqueIdentifier(DicomTag.SOPInstanceUID, "1.2.3.4.5"));
Expand Down

0 comments on commit de4c382

Please sign in to comment.