We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf2de4 commit 95cebf9Copy full SHA for 95cebf9
1 file changed
tests/test_webhooks.py
@@ -15,6 +15,7 @@ def _send_alert(self, data):
15
def test_webhook_is_valid_alert(self, is_valid_webhook):
16
valid_alert = deepcopy(FAKE_ALERT_TEST_SUBSCRIPTION_CREATED)
17
valid_alert["p_signature"] = "valid-signature"
18
+ plan = Plan.objects.create(pk=1, name="monthly-subscription", billing_type="month", billing_period=1, trial_days=0)
19
20
resp = self._send_alert(valid_alert)
21
self.assertTrue(is_valid_webhook.called)
0 commit comments