From 0a4cb11dffede347954023bf32410c342a0d8873 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Thu, 27 Jul 2023 22:26:03 +0700 Subject: [PATCH] fix --- test/say-tests.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/say-tests.js b/test/say-tests.js index a77fea37..1e2a0775 100644 --- a/test/say-tests.js +++ b/test/say-tests.js @@ -53,7 +53,9 @@ test('\'say\' tests', async(t) => { let obj = await getJSON(`http:127.0.0.1:3100/lastRequest/${from}_callStatus`); console.log(obj); t.ok(obj.body.customerdata.callCount === 10, - 'create-call: call-hook contains correct format for customerData'); + 'create-call: status-hook contains correct format for customerData'); + t.ok(obj.body.customerData.callCount === 10, + 'create-call: status-hook contains correct format for customerData'); disconnect(); } catch (err) { console.log(`error received: ${err}`);