mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
858c99e09d
commit
bf71acfe2d
@ -236,7 +236,7 @@ class SubscriptionService
|
|||||||
];
|
];
|
||||||
|
|
||||||
$body = array_merge($body, $context);
|
$body = array_merge($body, $context);
|
||||||
|
|
||||||
if(Ninja::isHosted())
|
if(Ninja::isHosted())
|
||||||
{
|
{
|
||||||
$hosted = [
|
$hosted = [
|
||||||
@ -251,7 +251,7 @@ class SubscriptionService
|
|||||||
'headers' => $this->subscription->webhook_configuration['post_purchase_headers']
|
'headers' => $this->subscription->webhook_configuration['post_purchase_headers']
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$response = $client->{$this->subscription->webhook_configuration['post_purchase_rest_method']($this->subscription['post_purchase_url'],[
|
$response = $client->{$this->subscription->webhook_configuration['post_purchase_rest_method']}($this->subscription['post_purchase_url'],[
|
||||||
RequestOptions::JSON => ['body' => $body]
|
RequestOptions::JSON => ['body' => $body]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user