mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-24 02:28:49 +02:00
Add tests for Hello Asso payments using a fake endpoint
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
@ -13,7 +13,7 @@ _expires_at = None
|
||||
|
||||
def _get_hello_asso_api_base_url():
|
||||
if settings.HELLOASSO_TEST_ENDPOINT:
|
||||
return f"{settings.HELLOASSO_TEST_ENDPOINT_URL}/helloasso-test"
|
||||
return f"{settings.HELLOASSO_TEST_ENDPOINT_URL}/helloasso-test/api"
|
||||
elif not settings.DEBUG:
|
||||
return "https://api.helloasso.com"
|
||||
else:
|
||||
|
Reference in New Issue
Block a user