mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 02:24:29 -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);
|
||||
|
||||
|
||||
if(Ninja::isHosted())
|
||||
{
|
||||
$hosted = [
|
||||
@ -251,7 +251,7 @@ class SubscriptionService
|
||||
'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]
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user