Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
test: Update handle_webhooks_payment testto include pm property
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Apr 16, 2024
1 parent be962ab commit 6d279c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def test_handle_webhooks_payment(self, mock_track, mock_retrieve, mock_handle_po
'stripe_enabled': True,
'total': self.basket.total_incl_tax,
'success': True,
'payment_method': succeeded_payment_intent['charges']['data'][0]['payment_method_details']['type'],
}
mock_track.assert_called_once_with(
self.basket.site, self.basket.owner, 'Payment Processor Response', properties
Expand Down

0 comments on commit 6d279c8

Please sign in to comment.