diff --git a/tests/Feature/WebhookAPITest.php b/tests/Feature/WebhookAPITest.php index 69c640a6ae61..b8af16692591 100644 --- a/tests/Feature/WebhookAPITest.php +++ b/tests/Feature/WebhookAPITest.php @@ -70,6 +70,7 @@ class WebhookAPITest extends TestCase $data = [ 'target_url' => 'http://hook.com', 'event_id' => 1, + 'rest_method' => 'post', 'format' => 'JSON', ]; @@ -85,7 +86,10 @@ class WebhookAPITest extends TestCase $this->assertEquals(1, $arr['data']['event_id']); $data = [ + 'target_url' => 'http://hook.com', 'event_id' => 2, + 'rest_method' => 'post', + 'format' => 'JSON', ]; $response = $this->withHeaders([