Skip to content

Commit

Permalink
Fix update test to use different value for extended query tag (#3275)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarthic authored Jan 3, 2024
1 parent 8ebf854 commit fb6bc23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public async Task WhenUpdatingDicomMetadataWithExtendedQueryTagForASingleStudy_T
{
DicomTag ageTag = DicomTag.PatientAge;
DicomTag patientSexTag = DicomTag.PatientSex;
string tagValue = "053Y";
string tagValue = "035Y";

// Try to delete these extended query tags.
await _tagManager.DeleteExtendedQueryTagAsync(ageTag.GetPath());
Expand Down Expand Up @@ -179,7 +179,7 @@ await _tagManager.AddTagsAsync(
Assert.Equal(3, instances.Length);

// Verify using QIDO not original values
queryResponse = await _client.QueryInstancesAsync($"{ageTag.GetPath()}=053Y");
queryResponse = await _client.QueryInstancesAsync($"{ageTag.GetPath()}=035Y&{DicomTag.StudyInstanceUID.GetPath()}={studyInstanceUid}");
instances = await queryResponse.ToArrayAsync();
Assert.Empty(instances);
}
Expand Down

0 comments on commit fb6bc23

Please sign in to comment.