mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-18 09:24:22 +00:00
fix failing testcase
This commit is contained in:
1 parent
2d7d84436a
commit
8fb5bb6848
1 file changed
-2
@@ -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