Correcting issue with test case.
This commit is contained in:
parent
80bd561bba
commit
ba6b0fba6d
|
@ -54,5 +54,6 @@ describe("Branching automations", () => {
|
||||||
parameter: "testing",
|
parameter: "testing",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
expect(res).toBeDefined()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
|
|
||||||
export class WebhookAPI extends TestAPI {
|
export class WebhookAPI extends TestAPI {
|
||||||
save = async (webhook: Webhook, expectations?: Expectations) => {
|
save = async (webhook: Webhook, expectations?: Expectations) => {
|
||||||
const resp = await this._post<SaveWebhookResponse>("/api/webhooks", {
|
const resp = await this._put<SaveWebhookResponse>("/api/webhooks", {
|
||||||
body: webhook,
|
body: webhook,
|
||||||
expectations: {
|
expectations: {
|
||||||
status: 200,
|
status: 200,
|
||||||
|
|
Loading…
Reference in New Issue