@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.
package/dist/ststestrunner.cjs
CHANGED
|
@@ -1393,7 +1393,7 @@ var TestCaseFhir04 = class extends TestCaseFhirQueryBase {
|
|
|
1393
1393
|
const updatedRecord = { ...retVal.body };
|
|
1394
1394
|
delete updatedRecord.meta;
|
|
1395
1395
|
delete originalPersonRecord.meta;
|
|
1396
|
-
this.CheckReturnData(
|
|
1396
|
+
this.CheckReturnData(updatedRecord, originalPersonRecord);
|
|
1397
1397
|
return retVal.body;
|
|
1398
1398
|
} else {
|
|
1399
1399
|
this.runner.instrumentData.errorCount++;
|
|
@@ -1455,20 +1455,11 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
|
|
|
1455
1455
|
const checkRetVal = { ...retVal.body };
|
|
1456
1456
|
const searchRetValCheck = {
|
|
1457
1457
|
resourceType: "Bundle",
|
|
1458
|
-
type: "searchset"
|
|
1459
|
-
total: 0,
|
|
1460
|
-
link: [{ relation: "self" }],
|
|
1461
|
-
entry: []
|
|
1458
|
+
type: "searchset"
|
|
1462
1459
|
};
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
delete checkRetVal.link[0].url;
|
|
1467
|
-
for (let i = 0; i < checkRetVal.entry.length; i++) {
|
|
1468
|
-
delete checkRetVal.entry[i].fullUrl;
|
|
1469
|
-
delete checkRetVal.entry[i].resource;
|
|
1470
|
-
delete checkRetVal.entry[i].search;
|
|
1471
|
-
}
|
|
1460
|
+
delete checkRetVal.total;
|
|
1461
|
+
delete checkRetVal.link;
|
|
1462
|
+
delete checkRetVal.entry;
|
|
1472
1463
|
this.CheckReturnData(searchRetValCheck, checkRetVal);
|
|
1473
1464
|
return retVal.body;
|
|
1474
1465
|
};
|