Fixes for webhook tests

This commit is contained in:
David Bomba 2023-01-27 21:52:12 +11:00
parent 0a696da9f5
commit 870fb637fd

View File

@ -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([