@nsshunt/ststestrunner 1.1.131 → 1.1.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1388,7 +1388,7 @@ var TestCaseFhir04 = class extends TestCaseFhirQueryBase {
1388
1388
  const updatedRecord = { ...retVal.body };
1389
1389
  delete updatedRecord.meta;
1390
1390
  delete originalPersonRecord.meta;
1391
- this.CheckReturnData(compPersonRecord, originalPersonRecord);
1391
+ this.CheckReturnData(updatedRecord, originalPersonRecord);
1392
1392
  return retVal.body;
1393
1393
  } else {
1394
1394
  this.runner.instrumentData.errorCount++;
@@ -1450,20 +1450,11 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
1450
1450
  const checkRetVal = { ...retVal.body };
1451
1451
  const searchRetValCheck = {
1452
1452
  resourceType: "Bundle",
1453
- type: "searchset",
1454
- total: 0,
1455
- link: [{ relation: "self" }],
1456
- entry: []
1453
+ type: "searchset"
1457
1454
  };
1458
- searchRetValCheck.total = checkRetVal.total;
1459
- searchRetValCheck.entry = [];
1460
- for (let i = 0; i < checkRetVal.entry.length; i++) searchRetValCheck.entry.push({});
1461
- delete checkRetVal.link[0].url;
1462
- for (let i = 0; i < checkRetVal.entry.length; i++) {
1463
- delete checkRetVal.entry[i].fullUrl;
1464
- delete checkRetVal.entry[i].resource;
1465
- delete checkRetVal.entry[i].search;
1466
- }
1455
+ delete checkRetVal.total;
1456
+ delete checkRetVal.link;
1457
+ delete checkRetVal.entry;
1467
1458
  this.CheckReturnData(searchRetValCheck, checkRetVal);
1468
1459
  return retVal.body;
1469
1460
  };