Mercurial > hg > orthanc
changeset 6373:3167e80eae75
fix unit tests
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Fri, 07 Nov 2025 18:51:42 +0100 |
| parents | c4935e292d4a |
| children | 60e32e442218 |
| files | OrthancServer/UnitTestsSources/ServerJobsTests.cpp |
| diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/UnitTestsSources/ServerJobsTests.cpp Fri Nov 07 18:39:28 2025 +0100 +++ b/OrthancServer/UnitTestsSources/ServerJobsTests.cpp Fri Nov 07 18:51:42 2025 +0100 @@ -1274,10 +1274,12 @@ TEST_F(OrthancJobsSerialization, DicomMoveScuJob) { Json::Value command = Json::objectValue; - command["0008,0005"]["Type"] = "String"; - command["0008,0005"]["Content"] = "ISO_IR 100"; - command["0010,0020"]["Type"] = "String"; - command["0010,0020"]["Content"] = "1234"; + command["Query"]["0008,0005"]["Type"] = "String"; + command["Query"]["0008,0005"]["Content"] = "ISO_IR 100"; + command["Query"]["0010,0020"]["Type"] = "String"; + command["Query"]["0010,0020"]["Content"] = "1234"; + command["DimseErrorStatus"] = 0; + command["ReceivedInstancesIds"] = Json::arrayValue; Json::Value query = Json::objectValue; query["0010,0020"] = "456";
