Fixes for tests

This commit is contained in:
David Bomba 2021-04-06 17:11:58 +10:00
parent fe7b3c79e7
commit 6b9001684e

View File

@ -212,7 +212,7 @@ class SubscriptionService
public function triggerWebhook($context)
{
/* If no webhooks have been set, then just return gracefully */
if(!array_key_exists('post_purchase_url', $this->subscription->webhook_configuration) || !array_key_exists('post_purchase_rest_method', $this->subscription->webhook_configuration) {
if(!array_key_exists('post_purchase_url', $this->subscription->webhook_configuration) || !array_key_exists('post_purchase_rest_method', $this->subscription->webhook_configuration)) {
return;
}