Correcting issue with test case.

This commit is contained in:
mike12345567 2024-12-13 16:00:40 +00:00
parent 80bd561bba
commit ba6b0fba6d
2 changed files with 2 additions and 1 deletions

View File

@ -54,5 +54,6 @@ describe("Branching automations", () => {
parameter: "testing",
}
)
expect(res).toBeDefined()
})
})

View File

@ -8,7 +8,7 @@ import {
export class WebhookAPI extends TestAPI {
save = async (webhook: Webhook, expectations?: Expectations) => {
const resp = await this._post<SaveWebhookResponse>("/api/webhooks", {
const resp = await this._put<SaveWebhookResponse>("/api/webhooks", {
body: webhook,
expectations: {
status: 200,