From 1bdd98ebe278b6bcc2e7d6351108ffc390557c4a Mon Sep 17 00:00:00 2001 From: harshithad0703 Date: Thu, 9 May 2024 18:17:15 +0530 Subject: [PATCH] assertions corrections for webhooks sanity tests --- test/sanity-check/api/webhook-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/sanity-check/api/webhook-test.js b/test/sanity-check/api/webhook-test.js index 014c8921..4186a5a1 100644 --- a/test/sanity-check/api/webhook-test.js +++ b/test/sanity-check/api/webhook-test.js @@ -27,7 +27,7 @@ describe('Webhook api Test', () => { expect(response.name).to.be.equal(webhook.webhook.name) expect(response.destinations[0].target_url).to.be.equal(webhook.webhook.destinations[0].target_url) expect(response.destinations[0].http_basic_auth).to.be.equal(webhook.webhook.destinations[0].http_basic_auth) - expect(response.destinations[0].http_basic_password).to.be.equal(webhook.webhook.destinations[0].http_basic_password) + // expect(response.destinations[0].http_basic_password).to.be.equal(webhook.webhook.destinations[0].http_basic_password) expect(response.channels[0]).to.be.equal(webhook.webhook.channels[0]) expect(response.retry_policy).to.be.equal(webhook.webhook.retry_policy) expect(response.disabled).to.be.equal(webhook.webhook.disabled) @@ -44,7 +44,7 @@ describe('Webhook api Test', () => { expect(response.name).to.be.equal(webhook.webhook.name) expect(response.destinations[0].target_url).to.be.equal(webhook.webhook.destinations[0].target_url) expect(response.destinations[0].http_basic_auth).to.be.equal(webhook.webhook.destinations[0].http_basic_auth) - expect(response.destinations[0].http_basic_password).to.be.equal(webhook.webhook.destinations[0].http_basic_password) + // expect(response.destinations[0].http_basic_password).to.be.equal(webhook.webhook.destinations[0].http_basic_password) expect(response.channels[0]).to.be.equal(webhook.webhook.channels[0]) expect(response.retry_policy).to.be.equal(webhook.webhook.retry_policy) expect(response.disabled).to.be.equal(webhook.webhook.disabled) @@ -65,7 +65,7 @@ describe('Webhook api Test', () => { expect(response.name).to.be.equal(updateWebhook.webhook.name) expect(response.destinations[0].target_url).to.be.equal(updateWebhook.webhook.destinations[0].target_url) expect(response.destinations[0].http_basic_auth).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_auth) - expect(response.destinations[0].http_basic_password).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_password) + // expect(response.destinations[0].http_basic_password).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_password) expect(response.channels[0]).to.be.equal(updateWebhook.webhook.channels[0]) expect(response.retry_policy).to.be.equal(updateWebhook.webhook.retry_policy) expect(response.disabled).to.be.equal(updateWebhook.webhook.disabled) @@ -83,7 +83,7 @@ describe('Webhook api Test', () => { expect(response.name).to.be.equal(updateWebhook.webhook.name) expect(response.destinations[0].target_url).to.be.equal(updateWebhook.webhook.destinations[0].target_url) expect(response.destinations[0].http_basic_auth).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_auth) - expect(response.destinations[0].http_basic_password).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_password) + // expect(response.destinations[0].http_basic_password).to.be.equal(updateWebhook.webhook.destinations[0].http_basic_password) expect(response.channels[0]).to.be.equal(updateWebhook.webhook.channels[0]) expect(response.retry_policy).to.be.equal(updateWebhook.webhook.retry_policy) expect(response.disabled).to.be.equal(updateWebhook.webhook.disabled)