Skip to content

Commit

Permalink
fix: broken lms test for CC switching in Ecommerce Service
Browse files Browse the repository at this point in the history
  • Loading branch information
grmartin authored and KyryloKireiev committed Apr 24, 2024
1 parent c134e87 commit dedc523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/djangoapps/commerce/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ def test_get_add_to_basket_url(self, coordinator_flag_active):
result = ecommerce_service.get_add_to_basket_url()

if coordinator_flag_active:
expected_url = 'http://coordinator_url/lms/redirect/'
expected_url = 'http://coordinator_url/lms/payment_page_redirect/'
else:
expected_url = 'http://ecommerce_url/test_basket/add/'

self.assertIsNotNone(result)
self.assertEqual(result, expected_url)
self.assertEqual(expected_url, result)


@ddt.ddt
Expand Down

0 comments on commit dedc523

Please sign in to comment.