mirror of
https://github.com/quay/quay.git
synced 2025-07-28 20:22:05 +03:00
billing: update Stripe checkout to support 3DS (PROJQUAY-5129) (#1818)
Update Stripe checkout in order to support auth requirements from banks.
This commit is contained in:
committed by
GitHub
parent
fa50c70ed0
commit
89725309be
@ -3605,8 +3605,8 @@ class TestUserCard(ApiTestCase):
|
||||
|
||||
def test_setusercard_error(self):
|
||||
self.login(ADMIN_ACCESS_USER)
|
||||
json = self.postJsonResponse(UserCard, data=dict(token="sometoken"), expected_code=402)
|
||||
assert "carderror" in json
|
||||
# token not a valid param anymore. This becomes a checkout session instead
|
||||
json = self.postJsonResponse(UserCard, data=dict(token="sometoken"), expected_code=400)
|
||||
|
||||
|
||||
class TestOrgCard(ApiTestCase):
|
||||
|
Reference in New Issue
Block a user