Fixes for tests

This commit is contained in:
= 2021-04-04 22:47:59 +10:00
parent 858c99e09d
commit bf71acfe2d

View File

@ -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]
]); ]);