diff OrthancServer/UnitTestsSources/DatabaseLookupTests.cpp @ 4198:c671331ea1ef

fix unit test
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2020 18:13:13 +0200
parents 37310bb1cd30
children d9473bd5ed43
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();