aboutsummaryrefslogtreecommitdiffstats
path: root/k6-tests
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-08-15 12:42:21 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-08-15 12:42:21 +0100
commitb12d0c8f55abfa302a730403c8760a7ee646b168 (patch)
tree442bfb400e27a3d46271f0dc84ae1b76330a8316 /k6-tests
parentf11aad9f7e2035ce174e486773a98fcc910e0930 (diff)
Fix syntax error on k6 test
Issue-ID: CPS-2357 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ibbd32282608ff707c8030d43df3cf85043242218
Diffstat (limited to 'k6-tests')
-rw-r--r--k6-tests/ncmp/common/cmhandle-crud.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/k6-tests/ncmp/common/cmhandle-crud.js b/k6-tests/ncmp/common/cmhandle-crud.js
index fa99270f39..88ecdb45b8 100644
--- a/k6-tests/ncmp/common/cmhandle-crud.js
+++ b/k6-tests/ncmp/common/cmhandle-crud.js
@@ -44,7 +44,7 @@ function createCmHandles(cmHandleIds) {
const url = `${NCMP_BASE_URL}/ncmpInventory/v1/ch`;
const payload = {
"dmiPlugin": DMI_PLUGIN_URL,
- "createdCmHandles": cmHandleIds.((cmHandleId, index) => ({
+ "createdCmHandles": cmHandleIds.map((cmHandleId, index) => ({
"cmHandle": cmHandleId,
"alternateId": `alt-${cmHandleId}`,
"moduleSetTag": MODULE_SET_TAGS[index % MODULE_SET_TAGS.length],