Skip to content

Commit

Permalink
[Webhook] Write Test for Webhook module (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtranq-nashtechglobal committed Sep 3, 2024
1 parent ac48425 commit 2f528d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void test_createWebhook_shouldSuccess() {
,"events":[{"id":1,"name":"ON_PRODUCT_UPDATED"}]}
""")
.when()
.post(ApiConstant.WEBHOOK_URL)
.post("/webhook" + ApiConstant.WEBHOOK_URL)
.then()
.statusCode(HttpStatus.OK.value())
.log().ifValidationFails();
Expand Down

0 comments on commit 2f528d1

Please sign in to comment.