Skip to content

Commit

Permalink
Regression: Fix webhook test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Nov 22, 2022
1 parent 66692c9 commit 1f79964
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ describe('LIVECHAT - Integrations', function () {
it('should return true if webhook test went good', async () => {
await updateSetting('Livechat_webhookUrl', 'https://httpbin.org/status/200');
const response = await request.post(api('livechat/webhook.test')).set(credentials).expect(200);
expect(response.body).to.be.true;
expect(response.body.success).to.be.true;
});
it('should fail if webhook test went bad', async () => {
await updateSetting('Livechat_webhookUrl', 'https://httpbin.org/status/400');
Expand Down

0 comments on commit 1f79964

Please sign in to comment.