@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.cjs
CHANGED
|
@@ -1557,6 +1557,7 @@ var TestCaseFhir04 = class extends TestCaseFhirQueryBase {
|
|
|
1557
1557
|
const loadedRecordVersion = loadedPersonRecorded.meta.versionId;
|
|
1558
1558
|
delete compPersonRecord.meta;
|
|
1559
1559
|
delete loadedPersonRecorded.meta;
|
|
1560
|
+
if (loadedRecordVersion > 1) compPersonRecord.text.div = `Put record TestCaseFhir04 ${this.runner.iteration % this.GetMaxIteration(prefix)}`;
|
|
1560
1561
|
this.CheckReturnData(compPersonRecord, loadedPersonRecorded);
|
|
1561
1562
|
const originalPersonRecord = retVal.body;
|
|
1562
1563
|
if (originalPersonRecord && originalPersonRecord.text) {
|
|
@@ -2284,6 +2285,12 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
|
|
|
2284
2285
|
if (retValPatched.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2285
2286
|
const retRecordCheck = { ...retValPatched.body };
|
|
2286
2287
|
personRecord.text.div = patchText;
|
|
2288
|
+
const zz = (loadedRecordVersion + 1).toString();
|
|
2289
|
+
console.log(loadedRecordVersion);
|
|
2290
|
+
console.log(typeof loadedRecordVersion);
|
|
2291
|
+
console.log(typeof (loadedRecordVersion + 1));
|
|
2292
|
+
console.log(typeof zz);
|
|
2293
|
+
console.log(zz);
|
|
2287
2294
|
personRecord.meta.versionId = (loadedRecordVersion + 1).toString();
|
|
2288
2295
|
delete personRecord.meta.lastUpdated;
|
|
2289
2296
|
delete retRecordCheck.meta.lastUpdated;
|