changeset 4198:c671331ea1ef

fix unit test
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2020 18:13:13 +0200
parents b1d528687e25
children fbc49a65340a
files OrthancServer/UnitTestsSources/DatabaseLookupTests.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/UnitTestsSources/DatabaseLookupTests.cpp	Wed Sep 16 13:30:01 2020 +0200
+++ b/OrthancServer/UnitTestsSources/DatabaseLookupTests.cpp	Wed Sep 16 18:13:13 2020 +0200
@@ -232,7 +232,7 @@
     lookup.AddDicomConstraint(DICOM_TAG_MODALITIES_IN_STUDY, "CT\\MR", false, true);
 
     ASSERT_EQ(1u, lookup.GetConstraintsCount());
-    ASSERT_EQ(DICOM_TAG_MODALITY,  lookup.GetConstraint(0).GetTag());
+    ASSERT_EQ(DICOM_TAG_MODALITIES_IN_STUDY,  lookup.GetConstraint(0).GetTag());
     ASSERT_EQ(ConstraintType_List, lookup.GetConstraint(0).GetConstraintType());
 
     const std::set<std::string>& values = lookup.GetConstraint(0).GetValues();