Skip to content

Commit

Permalink
feat: fixed CI failurs
Browse files Browse the repository at this point in the history
  • Loading branch information
shafqatfarhan committed Dec 16, 2024
1 parent f631e9b commit 06e4c18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def test_translate_stripe_refund_status_failed(self):

def test_translate_stripe_refund_status_other(self):
# Test for an unknown status
self.assertEqual(translate_refund_status_to_transaction_status('unknown_status'), 'unknown_status')
self.assertEqual(translate_refund_status_to_transaction_status('unknown_status'), TransactionState.SUCCESS)


class TestRetirementAnonymizingTestCase(unittest.TestCase):
Expand Down
2 changes: 2 additions & 0 deletions commerce_coordinator/apps/stripe/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ def run_filter(self, psp=None, payment_intent_id=None, **params):
'redirect_url': receipt_url
}

return PipelineCommand.CONTINUE.value


class RefundPaymentIntent(PipelineStep):
"""
Expand Down

0 comments on commit 06e4c18

Please sign in to comment.