@nsshunt/ststestrunner 1.1.162 → 1.1.164
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.mjs
CHANGED
|
@@ -1552,6 +1552,7 @@ var TestCaseFhir04 = class extends TestCaseFhirQueryBase {
|
|
|
1552
1552
|
const loadedRecordVersion = loadedPersonRecorded.meta.versionId;
|
|
1553
1553
|
delete compPersonRecord.meta;
|
|
1554
1554
|
delete loadedPersonRecorded.meta;
|
|
1555
|
+
if (loadedRecordVersion > 1) compPersonRecord.text.div = `Put record TestCaseFhir04 ${this.runner.iteration % this.GetMaxIteration(prefix)}`;
|
|
1555
1556
|
this.CheckReturnData(compPersonRecord, loadedPersonRecorded);
|
|
1556
1557
|
const originalPersonRecord = retVal.body;
|
|
1557
1558
|
if (originalPersonRecord && originalPersonRecord.text) {
|
|
@@ -2279,6 +2280,12 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
|
|
|
2279
2280
|
if (retValPatched.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2280
2281
|
const retRecordCheck = { ...retValPatched.body };
|
|
2281
2282
|
personRecord.text.div = patchText;
|
|
2283
|
+
const zz = (loadedRecordVersion + 1).toString();
|
|
2284
|
+
console.log(loadedRecordVersion);
|
|
2285
|
+
console.log(typeof loadedRecordVersion);
|
|
2286
|
+
console.log(typeof (loadedRecordVersion + 1));
|
|
2287
|
+
console.log(typeof zz);
|
|
2288
|
+
console.log(zz);
|
|
2282
2289
|
personRecord.meta.versionId = (loadedRecordVersion + 1).toString();
|
|
2283
2290
|
delete personRecord.meta.lastUpdated;
|
|
2284
2291
|
delete retRecordCheck.meta.lastUpdated;
|