mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-07-24 13:12:08 +00:00
fix failing testcase
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user