fix failing testcase

This commit is contained in:
Quan HL
2023-05-07 19:07:00 +07:00
parent 2d7d84436a
commit 8fb5bb6848
-2
View File
@@ -105,7 +105,6 @@ test('test create-call call-hook basic authentication', async(t) => {
await p;
let obj = await getJSON(`http:127.0.0.1:3100/lastRequest/${from}`);
console.log(obj);
t.ok(
obj.headers.Authorization === "Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
"create-call: call-hook contains basic authentication header"
@@ -115,7 +114,6 @@ test('test create-call call-hook basic authentication', async(t) => {
"create-call: metadata is working"
);
obj = await getJSON(`http:127.0.0.1:3100/lastRequest/${from}_callStatus`);
console.log(obj);
t.ok(
obj.body.customerData.customer === "acme",
"create-call: metadata is working"