# HG changeset patch # User Sebastien Jodogne # Date 1600272793 -7200 # Node ID c671331ea1efb2105f271371ee1094e4920c12d7 # Parent b1d528687e255aa5df6cbba2f6bd7dfc0e7eae0c fix unit test diff -r b1d528687e25 -r c671331ea1ef OrthancServer/UnitTestsSources/DatabaseLookupTests.cpp --- 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& values = lookup.GetConstraint(0).GetValues();