mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for webhook tests
This commit is contained in:
parent
0a696da9f5
commit
870fb637fd
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user