(PC-34345)[API] setup celery tasks for mails #11134
dev_on_pull_request_workflow.yml
on: pull_request
Init job
1m 41s
Tests pro
/
...
/
Style quality check
Tests pro
/
Unit tests
[pcapi-tests] build docker image.
/
Build Docker image
3m 54s
[pcapi] build docker image.
/
Build Docker image
2m 24s
[pcapi-console] build docker image.
/
Build Docker image
3m 41s
MyPy cop
/
MyPy cop test
37s
Tests API documentation
/
Check API documentation can be built
Merge Allure Reports and Push to Allure Repository
0s
[PRO] Deploy PR version for validation pr preview backend
/
deploy_on_firebase
[PRO] Deploy PR version for validation with testing backend
/
deploy_on_firebase
Dependabot
/
dependabot
Matrix: Tests api / Pytest
Tests api
/
Quality checks
2m 46s
Tests api
/
Pylint
3m 53s
Tests api
/
Test database schema
2m 55s
Update api client template
/
Update API Client template
1m 58s
Push pcapi docker image to registry
/
Push Docker image
Push pcapi-console docker image to registry
/
Push Docker image
Annotations
167 errors, 1 warning, and 3 notices
tests/providers/titelive_search_test.py.test_should_not_reject_product_and_deactivate_associated_offer_when_it_changes_to_paper_press_product:
tests/providers/titelive_search_test.py#L789
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/scripts/beneficiary/import_dms_accepted_applications_test.py.test_import_makes_user_beneficiary:
tests/scripts/beneficiary/import_dms_accepted_applications_test.py#L288
AssertionError: assert 3 == 4
+ where 3 = len([{'can_be_asynchronously_retried': True, 'event_name': 'user_identity_check_started', 'event_payload': {'type': 'dms'}, 'user_id': 203}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:03', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:03', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'ANDROID', 'can_be_asynchronously_retried': True, 'user_id': 203}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:03', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:03', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'IOS', 'can_be_asynchronously_retried': True, 'user_id': 203}])
+ where [{'can_be_asynchronously_retried': True, 'event_name': 'user_identity_check_started', 'event_payload': {'type': 'dms'}, 'user_id': 203}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:03', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:03', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'ANDROID', 'can_be_asynchronously_retried': True, 'user_id': 203}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:03', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:03', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'IOS', 'can_be_asynchronously_retried': True, 'user_id': 203}] = push_testing.requests
|
tests/scripts/beneficiary/import_dms_accepted_applications_test.py.test_import_native_app_user:
tests/scripts/beneficiary/import_dms_accepted_applications_test.py#L478
AssertionError: assert 3 == 4
+ where 3 = len([{'can_be_asynchronously_retried': True, 'event_name': 'user_identity_check_started', 'event_payload': {'type': 'dms'}, 'user_id': 209}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:04', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:04', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'ANDROID', 'can_be_asynchronously_retried': True, 'user_id': 209}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:04', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:04', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'IOS', 'can_be_asynchronously_retried': True, 'user_id': 209}])
+ where [{'can_be_asynchronously_retried': True, 'event_name': 'user_identity_check_started', 'event_payload': {'type': 'dms'}, 'user_id': 209}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:04', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:04', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'ANDROID', 'can_be_asynchronously_retried': True, 'user_id': 209}, {'attribute_values': {'date(u.date_created)': '2025-02-06T16:48:04', 'date(u.date_of_birth)': '2007-02-06T00:00:00', 'date(u.deposit_activation_date)': '2025-02-06T16:48:04', 'date(u.deposit_expiration_date)': '2028-02-06T00:00:00', ...}, 'batch_api': 'IOS', 'can_be_asynchronously_retried': True, 'user_id': 209}] = push_testing.requests
|
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
❌ Tests reported 3 failures
|
tests/core/bookings/test_api.py.test_create_booking:
tests/core/bookings/test_api.py#L148
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_if_it_is_first_venue_booking_to_send_specific_email:
tests/core/bookings/test_api.py#L198
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_free_offer_booking_by_ex_beneficiary:
tests/core/bookings/test_api.py#L214
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_booked_categories_are_sent_to_batch_backend:
tests/core/bookings/test_api.py#L224
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_booking_on_digital_offer_with_activation_stock:
tests/core/bookings/test_api.py#L251
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_booking_on_digital_offer_without_activation_stock:
tests/core/bookings/test_api.py#L262
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_create_event_booking:
tests/core/bookings/test_api.py#L273
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_book_stock_with_unlimited_quantity:
tests/core/bookings/test_api.py#L301
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_logs_event_to_batch:
tests/core/bookings/test_api.py#L359
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_book_offer_with_first_activation_code_available:
tests/core/bookings/test_api.py#L383
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_ignore_activation_that_is_already_used_for_booking:
tests/core/bookings/test_api.py#L395
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_ems_solo_external_booking:
tests/core/bookings/test_api.py#L444
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_ems_duo_external_booking:
tests/core/bookings/test_api.py#L484
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_solo_external_booking:
tests/core/bookings/test_api.py#L876
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_duo_external_booking:
tests/core/bookings/test_api.py#L903
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_book_manual_offer:
tests/core/bookings/test_api.py#L980
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_booking:
tests/core/bookings/test_api.py#L1117
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_send_notification_to_external_api_when_cancel_booking:
tests/core/bookings/test_api.py#L1141
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_booking_when_send_notification_to_external_api_fails:
tests/core/bookings/test_api.py#L1184
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_booking_twice:
tests/core/bookings/test_api.py#L1212
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_no_external_booking_error_when_trying_to_cancel_with_already_canceled_ticket:
tests/core/bookings/test_api.py#L1320
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cds_cancel_external_booking:
tests/core/bookings/test_api.py#L1349
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_ems_cancel_external_booking:
tests/core/bookings/test_api.py#L1368
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_external_booking_from_charlie_api:
tests/core/bookings/test_api.py#L1411
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel:
tests/core/bookings/test_api.py#L1440
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_with_FF:
tests/core/bookings/test_api.py#L1465
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_all_bookings_from_stock:
tests/core/bookings/test_api.py#L1495
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_all_bookings_from_stock_dont_call_external_api:
tests/core/bookings/test_api.py#L1519
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_send_email_when_cancelled_by_offerer:
tests/core/bookings/test_api.py#L1534
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel:
tests/core/bookings/test_api.py#L1552
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_cancel_with_suspicions:
tests/core/bookings/test_api.py#L1563
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_cancelled:
tests/core/bookings/test_api.py#L1603
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_used:
tests/core/bookings/test_api.py#L1629
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_used_unlocks_achievement:
tests/core/bookings/test_api.py#L1640
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_used_with_uncancel:
tests/core/bookings/test_api.py#L1647
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_used_with_uncancel_unlocks_achievement:
tests/core/bookings/test_api.py#L1659
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_used_when_stock_starts_soon:
tests/core/bookings/test_api.py#L1666
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_unused:
tests/core/bookings/test_api.py#L1697
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_mark_as_unused_digital_offer:
tests/core/bookings/test_api.py#L1703
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_api.py.test_check_finance_events_and_pricings:
tests/core/bookings/test_api.py#L1731
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_validation.py.test_user_can_cancel_even_if_expired_deposit:
tests/core/bookings/test_validation.py#L273
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/bookings/test_validation.py.test_user_can_book_a_free_offer_even_if_expired_deposit:
tests/core/bookings/test_validation.py#L286
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/offers/test_api.py.test_delete_stock_cancel_bookings_and_send_emails:
tests/core/offers/test_api.py#L932
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/offers/test_api.py.test_delete_stock_cancel_bookings_and_send_emails_with_FF:
tests/core/offers/test_api.py#L992
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/offers/test_api.py.test_should_reject_product_with_inappropriate_content:
tests/core/offers/test_api.py#L2404
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/offers/test_api.py.test_should_reject_product_with_inappropriate_content_and_send_email:
tests/core/offers/test_api.py#L2458
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/finance/test_api.py.test_pricing_individual:
tests/core/finance/test_api.py#L172
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/finance/test_api.py.test_pricing_total_overpayment_incident_workflow:
tests/core/finance/test_api.py#L291
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/finance/test_api.py.test_pricing_partial_overpayment_incident_workflow:
tests/core/finance/test_api.py#L445
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/finance/test_api.py.test_pricing_commercial_gesture_workflow:
tests/core/finance/test_api.py#L698
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
❌ Tests reported 79 failures
|
tests/core/external/external_users_test.py.test_update_external_user[True]:
tests/core/external/external_users_test.py#L48
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/external/external_users_test.py.test_update_external_user[False]:
tests/core/external/external_users_test.py#L48
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/external/external_users_test.py.test_email_should_not_be_blacklisted_in_sendinblue_by_default:
tests/core/external/external_users_test.py#L84
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/external/external_users_test.py.test_get_user_attributes_double_beneficiary:
tests/core/external/external_users_test.py#L390
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/mails/mails_celery_test.py.test_send_to_ehp_true_in_testing:
tests/core/mails/mails_celery_test.py#L260
assert [<LogRecord: celery.app.trace, 20, /usr/src/app/src/pcapi/core/logging.py, 151, "Task %(name)s[%(id)s] succeeded in %(runtime)ss: %(return_value)s">] == []
Left contains one more item: <LogRecord: celery.app.trace, 20, /usr/src/app/src/pcapi/core/logging.py, 151, "Task %(name)s[%(id)s] succeeded in %(runtime)ss: %(return_value)s">
Full diff:
- []
+ [
+ <LogRecord: celery.app.trace, 20, /usr/src/app/src/pcapi/core/logging.py, 151, "Task %(name)s[%(id)s] succeeded in %(runtime)ss: %(return_value)s">,
+ ]
|
tests/core/search/test_integration.py.test_offer_indexation_on_booking_cycle:
tests/core/search/test_integration.py#L13
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/dms/test_api.py.test_handle_dms_application_updates_birth_date:
tests/core/subscription/dms/test_api.py#L133
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/dms/test_api.py.test_accepted:
tests/core/subscription/dms/test_api.py#L677
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/test_api.py.test_educonnect_subscription:
tests/core/subscription/test_api.py#L85
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/core/subscription/test_api.py.test_activation_success:
tests/core/subscription/test_api.py#L1255
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/test_api.py.test_activation_success_underage:
tests/core/subscription/test_api.py#L1487
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/test_api.py.test_underage_ubble_valid_for_18:
tests/core/subscription/test_api.py#L1549
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/test_api.py.test_underage_dms_valid_for_18:
tests/core/subscription/test_api.py#L1600
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/end_to_end/test_subscription_via_ubble.py.test_beneficiary_activation_with_ubble_mocked_response:
tests/core/subscription/ubble/end_to_end/test_subscription_via_ubble.py#L36
AssertionError: {'msg': 'an error occured during ubble v2 workflow update'}
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/core/subscription/ubble/test_api.py.test_ubble_identification_approved:
tests/core/subscription/ubble/test_api.py#L204
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_concurrent_requests_leave_fraud_check_ok:
tests/core/subscription/ubble/test_api.py#L326
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_updates_birth_date:
tests/core/subscription/ubble/test_api.py#L352
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_with_eligibility_change_17_18:
tests/core/subscription/ubble/test_api.py#L401
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_with_eligibility_change_with_first_attempt_at_18[19]:
tests/core/subscription/ubble/test_api.py#L459
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_with_eligibility_change_with_first_attempt_at_18[20]:
tests/core/subscription/ubble/test_api.py#L459
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_update_ubble_workflow[IdentificationState.VALID-UbbleIdentificationStatus.PROCESSED-FraudCheckStatus.OK]:
tests/core/subscription/ubble/test_api.py#L616
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_update_ubble_workflow_with_v2_feature_flag[IdentificationState.VALID-UbbleIdentificationStatus.PROCESSED-FraudCheckStatus.OK]:
tests/core/subscription/ubble/test_api.py#L633
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_concurrent_requests_leave_fraud_check_ok:
tests/core/subscription/ubble/test_api.py#L651
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_with_eligibility_change_17_18:
tests/core/subscription/ubble/test_api.py#L678
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/subscription/ubble/test_api.py.test_ubble_workflow_started_at_19_with_previous_attempt_at_18:
tests/core/subscription/ubble/test_api.py#L857
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_unsuspend_account:
tests/core/users/test_api.py#L300
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.should_send_reset_password_email_when_user_is_suspended_for_suspicious_login:
tests/core/users/test_api.py#L321
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.should_not_send_reset_password_email_when_user_is_suspended_for_reason_other_than_suspicious_login[fraud suspicion]:
tests/core/users/test_api.py#L336
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.should_not_send_reset_password_email_when_user_is_suspended_for_reason_other_than_suspicious_login[upon user request]:
tests/core/users/test_api.py#L336
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.should_not_send_reset_password_email_when_user_is_suspended_for_reason_other_than_suspicious_login[temporary suspension for investigation]:
tests/core/users/test_api.py#L336
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.should_not_send_reset_password_email_when_user_is_suspended_for_reason_other_than_suspicious_login[fake document fraud]:
tests/core/users/test_api.py#L336
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_with_eligible_user:
tests/core/users/test_api.py#L484
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_with_eligible_underage_user:
tests/core/users/test_api.py#L495
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_apps_flyer_called_for_underage_beneficiary:
tests/core/users/test_api.py#L514
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_apps_flyer_called_for_eighteen_beneficiary:
tests/core/users/test_api.py#L565
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_external_users_updated:
tests/core/users/test_api.py#L602
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_15yo_that_started_at_14_is_activated:
tests/core/users/test_api.py#L617
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_update_user_info:
tests/core/users/test_api.py#L667
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_update_user_info_sanitizes_email:
tests/core/users/test_api.py#L680
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_update_user_info_returns_modified_info:
tests/core/users/test_api.py#L687
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_update_user_info_also_updates_underage_deposit_expiration_date:
tests/core/users/test_api.py#L698
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_get_domains_regular_credit_with_finance_incidents:
tests/core/users/test_api.py#L811
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_get_domains_digital_credit_with_finance_incidents:
tests/core/users/test_api.py#L907
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_get_domains_physical_credit_with_finance_incidents:
tests/core/users/test_api.py#L1000
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_first_update:
tests/core/users/test_api.py#L1267
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_update_day_after:
tests/core/users/test_api.py#L1278
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_send_confirmation_email_if_env_var_is_disabled:
tests/core/users/test_api.py#L3616
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_dont_send_confirmation_email_when_e2e_test:
tests/core/users/test_api.py#L3630
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_send_confirmation_with_normal_email:
tests/core/users/test_api.py#L3645
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/core/users/test_api.py.test_dont_confirm_e2e_test_email_when_email_sending_is_not_required:
tests/core/users/test_api.py#L3659
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
❌ Tests reported 50 failures
|
tests/routes/backoffice/multiple_offers_test.py.test_cancel_bookings_and_send_transactional_email:
tests/routes/backoffice/multiple_offers_test.py#L355
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/backoffice/update_request_test.py.test_accept_email_update:
tests/routes/backoffice/update_request_test.py#L859
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/backoffice/update_request_test.py.test_accept_phone_number_update:
tests/routes/backoffice/update_request_test.py#L887
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/backoffice/update_request_test.py.test_accept_names_update:
tests/routes/backoffice/update_request_test.py#L915
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/backoffice/update_request_test.py.test_accept_email_update_with_duplicate:
tests/routes/backoffice/update_request_test.py#L1014
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
Tests api / Pytest (tests/routes/backoffice -m 'backoffice' --ignore=tests/routes/backoffice/collective_booki...
❌ Tests reported 5 failures
|
tests/routes/external/user_subscription_test.py.test_dms_request:
tests/routes/external/user_subscription_test.py#L56
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_get_user_profile_recredit_amount_to_show:
tests/routes/native/v1/account_test.py#L219
AttributeError: 'dict' object has no attribute 'use_pro_subaccount'
|
tests/routes/native/v1/account_test.py.test_account_creation:
tests/routes/native/v1/account_test.py#L460
assert 0 == 1
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/native/v1/account_test.py.test_account_creation_and_login:
tests/routes/native/v1/account_test.py#L651
assert 0 == 1
+ where 0 = len([])
+ where [] = users_testing.sendinblue_requests
|
tests/routes/native/v1/account_test.py.test_end_to_end_update_email:
tests/routes/native/v1/account_test.py#L1342
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_validate_email:
tests/routes/native/v1/account_test.py#L1615
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_email_exists:
tests/routes/native/v1/account_test.py#L1657
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_send_phone_validation_code:
tests/routes/native/v1/account_test.py#L1907
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_validate_phone_number:
tests/routes/native/v1/account_test.py#L2127
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_validate_phone_number_and_become_beneficiary:
tests/routes/native/v1/account_test.py#L2169
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/account_test.py.test_suspended_upon_user_request:
tests/routes/native/v1/account_test.py#L2745
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_account_is_active_account_state:
tests/routes/native/v1/authentication_test.py#L42
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_user_logs_in_and_refreshes_token:
tests/routes/native/v1/authentication_test.py#L112
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.should_not_check_recaptcha_when_feature_flag_is_disabled:
tests/routes/native/v1/authentication_test.py#L191
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_success_when_recaptcha_token_is_valid:
tests/routes/native/v1/authentication_test.py#L237
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_refresh_token_route_updates_user_last_connection_date:
tests/routes/native/v1/authentication_test.py#L251
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_account_is_active:
tests/routes/native/v1/authentication_test.py#L275
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_single_sign_on_ignores_email_if_found:
tests/routes/native/v1/authentication_test.py#L357
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_single_sign_on_inserts_sso_method_if_email_found:
tests/routes/native/v1/authentication_test.py#L373
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_single_sign_on_validates_email_and_deletes_password:
tests/routes/native/v1/authentication_test.py#L408
AssertionError: {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']}
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_single_sign_on_does_not_duplicate_ssos:
tests/routes/native/v1/authentication_test.py#L425
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_authorization_expires_oauth_state_token:
tests/routes/native/v1/authentication_test.py#L485
AssertionError: {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']}
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_oauth_state_token_roundtrip:
tests/routes/native/v1/authentication_test.py#L512
AssertionError: {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']}
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
|
|
|
|
|
|
tests/routes/native/v1/authentication_test.py.test_reset_password_success:
tests/routes/native/v1/authentication_test.py#L882
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_reset_password_for_unvalidated_email:
tests/routes/native/v1/authentication_test.py#L909
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_validate_email_when_eligible:
tests/routes/native/v1/authentication_test.py#L1070
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_validate_email_second_time_is_forbidden:
tests/routes/native/v1/authentication_test.py#L1103
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_validate_email_when_not_eligible:
tests/routes/native/v1/authentication_test.py#L1116
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/authentication_test.py.test_validate_email_dms_orphan:
tests/routes/native/v1/authentication_test.py#L1144
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_bookings:
tests/routes/native/v1/bookings_test.py#L49
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_free_bookings_from_subcategories_with_archive[CARTE_MUSEE-0]:
tests/routes/native/v1/bookings_test.py#L140
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_free_bookings_from_subcategories_with_archive[ABO_BIBLIOTHEQUE-0]:
tests/routes/native/v1/bookings_test.py#L140
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_free_bookings_from_subcategories_with_archive[ABO_MEDIATHEQUE-0]:
tests/routes/native/v1/bookings_test.py#L140
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_non_free_bookings_or_from_wrong_subcategories_without_archive[subcategory0-10-BookingStatus.CONFIRMED]:
tests/routes/native/v1/bookings_test.py#L159
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_post_non_free_bookings_or_from_wrong_subcategories_without_archive[subcategory1-0-BookingStatus.CONFIRMED]:
tests/routes/native/v1/bookings_test.py#L159
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_send_notification_to_external_api_with_external_event_booking:
tests/routes/native/v1/bookings_test.py#L183
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_infos:
tests/routes/native/v1/bookings_test.py#L241
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_booking_and_remaining_quantity_unlimited:
tests/routes/native/v1/bookings_test.py#L324
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_bookings_with_external_event_api_return_more_tickets_than_quantity:
tests/routes/native/v1/bookings_test.py#L627
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/bookings_test.py.test_cancel_booking:
tests/routes/native/v1/bookings_test.py#L1034
Failed: 19 queries executed, 25 expected
Captured queries were:
1. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 44
2. SELECT "user"."phoneNumber" AS "user_phoneNumber", "user"."isActive" AS "user_isActive", "user".id AS user_id, "user".activity AS user_activity, "user".address AS user_address, "user".city AS user_city, "user".civility AS user_civility, "user".comment AS user_comment, "user"."culturalSurveyFilledDate" AS "user_culturalSurveyFilledDate", "user"."culturalSurveyId" AS "user_culturalSurveyId", "user"."dateCreated" AS "user_dateCreated", "user"."dateOfBirth" AS "user_dateOfBirth", "user"."departementCode" AS "user_departementCode", "user".email AS user_email, "user"."externalIds" AS "user_externalIds", "user"."extraData" AS "user_extraData", "user"."firstName" AS "user_firstName", "user"."hasSeenProTutorials" AS "user_hasSeenProTutorials", "user"."hasSeenProRgs" AS "user_hasSeenProRgs", "user"."idPieceNumber" AS "user_idPieceNumber", "user"."ineHash" AS "user_ineHash", "user"."irisFranceId" AS "user_irisFranceId", "user"."isEmailValidated" AS "user_isEmailValidated", "user"."lastConnectionDate" AS "user_lastConnectionDate", "user"."lastName" AS "user_lastName", "user".married_name AS user_married_name, "user"."needsToFillCulturalSurvey" AS "user_needsToFillCulturalSurvey", "user"."notificationSubscriptions" AS "user_notificationSubscriptions", "user".password AS user_password, "user"."phoneValidationStatus" AS "user_phoneValidationStatus", "user"."postalCode" AS "user_postalCode", "user"."recreditAmountToShow" AS "user_recreditAmountToShow", "user".roles AS user_roles, "user"."schoolType" AS "user_schoolType", "user"."validatedBirthDate" AS "user_validatedBirthDate"
FROM "user"
WHERE lower("user".email) = pascal.ture@example.com
3. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 44 AND booking."userId" = 513
LIMIT 1
4. SELECT stock.id AS stock_id, stock."isSoftDeleted" AS "stock_isSoftDeleted", stock."beginningDatetime" AS "stock_beginningDatetime", stock."bookingLimitDatetime" AS "stock_bookingLimitDatetime", stock."dateCreated" AS "stock_dateCreated", stock."dateModified" AS "stock_dateModified", stock."dnBookedQuantity" AS "stock_dnBookedQuantity", stock."offerId" AS "stock_offerId", stock.price AS stock_price, stock."priceCategoryId" AS "stock_priceCategoryId", stock.quantity AS stock_quantity, stock."rawProviderQuantity" AS "stock_rawProviderQuantity", stock.features AS stock_features, stock."idAtProviders" AS "stock_idAtProviders", stock."dateModifiedAtLastProvider" AS "stock_dateModifiedAtLastProvider", stock."fieldsUpdated" AS "stock_fieldsUpdated", stock."lastProviderId" AS "stock_lastProviderId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId"
FROM stock JOIN offer AS offer_1 ON offer_1.id = stock."offerId"
WHERE stock.id = 64 FOR UPDATE
5. SELECT booking.id, booking."dateCreated", booking."dateUsed", booking."stockId", booking."venueId", booking."offererId", booking.quantity, booking.token, booking."userId", booking.amount, booking."priceCategoryLabel", booking."cancellationDate", booking."displayAsEnded", booking."cancellationLimitDate", booking."cancellationReason", booking."cancellationUserId", booking.status, booking."validationAuthorType", booking."reimbursementDate", booking."depositId"
FROM booking
WHERE booking.id = 44
6. SELECT finance_event.id AS finance_event_id, finance_event."creationDate" AS "finance_event_creationDate", finance_event."valueDate" AS "finance_event_valueDate", finance_event."pricingOrderingDate" AS "finance_event_pricingOrderingDate", finance_event.status AS finance_event_status, finance_event.motive AS finance_event_motive, finance_event."bookingId" AS "finance_event_bookingId", finance_event."collectiveBookingId" AS "finance_event_collectiveBookingId", finance_event."bookingFinanceIncidentId" AS "finance_event_bookingFinanceIncidentId", finance_event."venueId" AS "finance_event_venueId", finance_event."pricingPointId" AS "finance_event_pricingPointId"
FROM finance_event
WHERE 44 = finance_event."bookingId" AND finance_event.motive IN (booking-used, booking-used-after-cancellation) AND finance_event.status IN (priced, pending, ready)
7. SELECT external_booking.id AS external_booking_id, external_booking."bookingId" AS "external_booking_bookingId", external_booking.barcode AS external_booking_barcode, external_booking.seat AS external_booking_seat, external_booking.additional_information AS external_booking_additional_information
FROM external_booking
WHERE 44 = external_booking."bookingId"
8. SELECT activation_code.id AS activation_code_id, activation_code."bookingId" AS "activation_code_bookingId", activation_code.code AS activation_code_code, activation_code."expirationDate" AS "activation_code_expirationDate", activation_code."stockId" AS "activation_code_stockId"
FROM activation_code
WHERE 44 = activation_code."bookingId"
9. UPDATE stock SET "dnBookedQuantity"=0 WHERE stock.id = 64
10. UPDATE booking SET "cancellationDate"=2025-02-06 16:48:55.675609, "cancellationReason"=BENEFICIARY, status=CANCELLED WHERE booking.id = 44
11. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 44
12. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId", stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", user_1."phoneNumber" AS "user_1_phoneNumber", user_1."isActive" AS "user_1_isActive", user_1.id AS user_1_id, user_1.activity AS user_1_activity, user_1.address AS user_1_address, user_1.city AS user_1_city, user_1.civility AS user_1_civility, user_1.comment AS user_1_comment, user_1."culturalSurveyFilledDate" AS "user_1_culturalSurveyFilledDate", user_1."culturalSurveyId" AS "user_1_culturalSurveyId", user_1."dateCreated" AS "user_1_dateCreated", user_1."dateOfBirth" AS "user_1_dateOfBirth", user_1."departementCode" AS "user_1_departementCode", user_1.email AS user_1_email, user_1."externalIds" AS "user_1_externalIds", user_1."extraData" AS "user_1_extraData", user_1."firstName" AS "user_1_firstName", user_1."hasSeenProTutorials" AS "user_1_hasSeenProTutorials", user_1."hasSeenProRgs" AS "user_1_hasSeenProRgs", user_1."idPieceNumber" AS "user_1_idPieceNumber", user_1."ineHash" AS "user_1_ineHash", user_1."irisFranceId" AS "user_1_irisFranceId", user_1."isEmailValidated" AS "user_1_isEmailValidated", user_1."lastConnectionDate" AS "user_1_lastConnectionDate", user_1."lastName" AS "user_1_lastName", user_1.married_name AS user_1_married_name, user_1."needsToFillCulturalSurvey" AS "user_1_needsToFillCulturalSurvey", user_1."notificationSubscriptions" AS "user_1_notificationSubscriptions", user_1.password AS user_1_password, user_1."phoneValidationStatus" AS "user_1_phoneValidationStatus", user_1."postalCode" AS "user_1_postalCode", user_1."recreditAmountToShow" AS "user_1_recreditAmountToShow", user_1.roles AS user_1_roles, user_1."schoolType" AS "user_1_schoolType", user_1."validatedBirthDate" AS "user_1_validatedBirthDate", deposit_1.id AS deposit_1_id, deposit_1.amount AS deposit_1_amount, deposit_1."userId" AS "deposit_1_userId", deposit_1.source AS deposit_1_source, deposit_1."dateCreated" AS "deposit_1_dateCreated", deposit_1."dateUpdated" AS "deposit_1_dateUpdated", deposit_1."expirationDate" AS "deposit_1_expirationDate", deposit_1.version AS deposit_1_version, deposit_1.type AS deposit_1_type, external_booking_1.id AS external_booking_1_id, external_booking_1."bookingId" AS "external_booking_1_bookingId", external_booking_1.barcode AS external_booking_1_barcode, external_booking_1.seat AS external_booking_1_seat, external_booking_1.additional_information AS external_booking_1_additional_information
FROM booking JOIN stock AS stock_1 ON stock_1.id = booking."stockId" JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" JOIN "user" AS user_1 ON user_1.id = booking."userId" LEFT OUTER JOIN deposit AS deposit_1 ON user_1.id = deposit_1."userId" LEFT OUTER JOIN external_booking AS external_booking_1 ON booking.id = external_booking_1."bookingId"
WHERE booking.id = 44
13. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId", stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", finance_incident_1.id AS finance_incident_1_id, finance_incident_1.kind AS finance_incident_1_kind, finance_incident_1.status AS finance_incident_1_status, finance_incident_1."venueId" AS "finance_incident_1_venueId", finance_incident_1.details AS finance_incident_1_details, finance_incident_1."forceDebitNote" AS "finance_incident_1_forceDebitNote", booking_finance_incident_1.id AS booking_finance_incident_1_id, booking_finance_incident_1."bookingId" AS "booking_finance_incident_1_bookingId", booking_finance_incident_1."collectiveBookingId" AS "booking_finance_incident_1_collectiveBookingId", booking_finance_incident_1."incidentId" AS "booking_finance_incident_1_incidentId", booking_finance_incident_1."beneficiaryId" AS "booking_finance_incident_1_beneficiaryId", booking_finance_incident_1."newTotalAmount" AS "booking_finance_incident_1_newTotalAmount"
FROM booking LEFT OUTER JOIN stock AS stock_1 ON stock_1.id = booking."stockId" LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" LEFT OUTER JOIN booking_finance_incident AS booking_finance_incident_1 ON booking.id = booking_finance_incident_1."bookingId" LEFT OUTER JOIN finance_incident AS finance_incident_1 ON finance_incident_1.id = booking_finance_incident_1."incidentId"
WHERE booking."depositId" = 107 AND booking.status != CANCELLED
14. SELECT provider."isActive" AS "provider_isActive", provider.id AS provider_id, provider.name AS provider_name, provider."localClass" AS "provider_localClass", provider."enabledForPro" AS "provider_enabledForPro", provider."enableParallelSynchronization" AS "provider_enableParallelSynchronization", provider."logoUrl" AS "provider_logoUrl", provider."bookingExternalUrl" AS "provider_bookingExternalUrl", provider."cancelExternalUrl" AS "provider_cancelExternalUrl", provider."notificationExternalUrl" AS "provider_notificationExternalUrl", provider."hmacKey" AS "provider_hmacKey", provider."pricesInCents" AS "provider_pricesInCents"
FROM provider
WHERE provider.id IS NULL AND provider."isActive" = true AND provider."enabledForPro" = true
15. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1."jsonData" AS "offer_1_jsonData", offer_1.id AS offer_1_id, offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", venue_1.id AS venue_1_id, venue_1."isVirtual" AS "venue_1_isVirtual", finance_incident_1.id AS finance_incident_1_id, finance_incident_1.kind AS finance_incident_1_kind, finance_incident_1.status AS finance_incident_1_status, finance_incident_1."venueId" AS "finance_incident_1_venueId", finance_incident_1.details AS finance_incident_1_details, finance_incident_1."forceDebitNote" AS "finance_incident_1_forceDebitNote", booking_finance_incident_1.id AS booking_finance_incident_1_id, booking_finance_incident_1."bookingId" AS "booking_finance_incident_1_bookingId", booking_finance_incident_1."collectiveBookingId" AS "booking_finance_incident_1_collectiveBookingId", booking_finance_incident_1."incidentId" AS "booking_finance_incident_1_incidentId", booking_finance_incident_1."beneficiaryId" AS "booking_finance_incident_1_beneficiaryId", booking_finance_incident_1."newTotalAmount" AS "booking_finance_incident_1_newTotalAmount"
FROM booking LEFT OUTER JOIN stock AS stock_1 ON stock_1.id = booking."stockId" LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" LEFT OUTER JOIN venue AS venue_1 ON venue_1.id = booking."venueId" LEFT OUTER JOIN booking_finance_incident AS booking_finance_incident_1 ON booking.id = booking_finance_incident_1."bookingId" LEFT OUTER JOIN finance_incident AS finance_incident_1 ON finance_incident_1.id = booking_finance_incident_1."incidentId"
WHERE booking."userId" = 513 AND booking.status != CANCELLED ORDER BY booking."dateCreated" DESC
16. SELECT favorite.id AS favorite_id, favorite."userId" AS "favorite_userId", favorite."offerId" AS "favorite_offerId", favorite."dateCreated" AS "favorite_dateCreated", offer_1.id AS offer_1_id, offer_1."subcategoryId" AS "offer_1_subcategoryId"
FROM favorite LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = favorite."offerId"
WHERE favorite."userId" = 513 ORDER BY favorite.id DESC
17. SELECT get_wallet_balance(513, False) AS get_wallet_balance_1
18. SELECT feature.name AS feature_name, feature."isActive" AS "feature_isActive"
FROM feature
19. SELECT action_history."jsonData" AS "action_history_jsonData", action_history.id AS action_history_id, action_history."actionType" AS "action_history_actionType", action_history."actionDate" AS "action_history_actionDate", action_history."authorUserId" AS "action_history_authorUserId", action_history."userId" AS "action_history_userId", action_history."offererId" AS "action_history_offererId", action_history."venueId" AS "action_history_venueId", action_history."financeIncidentId" AS "action_history_financeIncidentId", action_history."bankAccountId" AS "action_history_bankAccountId", action_history."ruleId" AS "action_history_ruleId", action_history."chronicleId" AS "action_history_chronicleId", action_history.comment AS action_history_comment
FROM action_history
WHERE 513 = action_history."userId" ORDER BY action_history."actionDate" ASC NULLS FIRST
|
tests/routes/native/v1/bookings_test.py.test_cancel_booking_trigger_recredit_event:
tests/routes/native/v1/bookings_test.py#L1049
Failed: 19 queries executed, 25 expected
Captured queries were:
1. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 45
2. SELECT "user"."phoneNumber" AS "user_phoneNumber", "user"."isActive" AS "user_isActive", "user".id AS user_id, "user".activity AS user_activity, "user".address AS user_address, "user".city AS user_city, "user".civility AS user_civility, "user".comment AS user_comment, "user"."culturalSurveyFilledDate" AS "user_culturalSurveyFilledDate", "user"."culturalSurveyId" AS "user_culturalSurveyId", "user"."dateCreated" AS "user_dateCreated", "user"."dateOfBirth" AS "user_dateOfBirth", "user"."departementCode" AS "user_departementCode", "user".email AS user_email, "user"."externalIds" AS "user_externalIds", "user"."extraData" AS "user_extraData", "user"."firstName" AS "user_firstName", "user"."hasSeenProTutorials" AS "user_hasSeenProTutorials", "user"."hasSeenProRgs" AS "user_hasSeenProRgs", "user"."idPieceNumber" AS "user_idPieceNumber", "user"."ineHash" AS "user_ineHash", "user"."irisFranceId" AS "user_irisFranceId", "user"."isEmailValidated" AS "user_isEmailValidated", "user"."lastConnectionDate" AS "user_lastConnectionDate", "user"."lastName" AS "user_lastName", "user".married_name AS user_married_name, "user"."needsToFillCulturalSurvey" AS "user_needsToFillCulturalSurvey", "user"."notificationSubscriptions" AS "user_notificationSubscriptions", "user".password AS user_password, "user"."phoneValidationStatus" AS "user_phoneValidationStatus", "user"."postalCode" AS "user_postalCode", "user"."recreditAmountToShow" AS "user_recreditAmountToShow", "user".roles AS user_roles, "user"."schoolType" AS "user_schoolType", "user"."validatedBirthDate" AS "user_validatedBirthDate"
FROM "user"
WHERE lower("user".email) = pascal.ture@example.com
3. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 45 AND booking."userId" = 514
LIMIT 1
4. SELECT stock.id AS stock_id, stock."isSoftDeleted" AS "stock_isSoftDeleted", stock."beginningDatetime" AS "stock_beginningDatetime", stock."bookingLimitDatetime" AS "stock_bookingLimitDatetime", stock."dateCreated" AS "stock_dateCreated", stock."dateModified" AS "stock_dateModified", stock."dnBookedQuantity" AS "stock_dnBookedQuantity", stock."offerId" AS "stock_offerId", stock.price AS stock_price, stock."priceCategoryId" AS "stock_priceCategoryId", stock.quantity AS stock_quantity, stock."rawProviderQuantity" AS "stock_rawProviderQuantity", stock.features AS stock_features, stock."idAtProviders" AS "stock_idAtProviders", stock."dateModifiedAtLastProvider" AS "stock_dateModifiedAtLastProvider", stock."fieldsUpdated" AS "stock_fieldsUpdated", stock."lastProviderId" AS "stock_lastProviderId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId"
FROM stock JOIN offer AS offer_1 ON offer_1.id = stock."offerId"
WHERE stock.id = 65 FOR UPDATE
5. SELECT booking.id, booking."dateCreated", booking."dateUsed", booking."stockId", booking."venueId", booking."offererId", booking.quantity, booking.token, booking."userId", booking.amount, booking."priceCategoryLabel", booking."cancellationDate", booking."displayAsEnded", booking."cancellationLimitDate", booking."cancellationReason", booking."cancellationUserId", booking.status, booking."validationAuthorType", booking."reimbursementDate", booking."depositId"
FROM booking
WHERE booking.id = 45
6. SELECT finance_event.id AS finance_event_id, finance_event."creationDate" AS "finance_event_creationDate", finance_event."valueDate" AS "finance_event_valueDate", finance_event."pricingOrderingDate" AS "finance_event_pricingOrderingDate", finance_event.status AS finance_event_status, finance_event.motive AS finance_event_motive, finance_event."bookingId" AS "finance_event_bookingId", finance_event."collectiveBookingId" AS "finance_event_collectiveBookingId", finance_event."bookingFinanceIncidentId" AS "finance_event_bookingFinanceIncidentId", finance_event."venueId" AS "finance_event_venueId", finance_event."pricingPointId" AS "finance_event_pricingPointId"
FROM finance_event
WHERE 45 = finance_event."bookingId" AND finance_event.motive IN (booking-used, booking-used-after-cancellation) AND finance_event.status IN (priced, pending, ready)
7. SELECT external_booking.id AS external_booking_id, external_booking."bookingId" AS "external_booking_bookingId", external_booking.barcode AS external_booking_barcode, external_booking.seat AS external_booking_seat, external_booking.additional_information AS external_booking_additional_information
FROM external_booking
WHERE 45 = external_booking."bookingId"
8. SELECT activation_code.id AS activation_code_id, activation_code."bookingId" AS "activation_code_bookingId", activation_code.code AS activation_code_code, activation_code."expirationDate" AS "activation_code_expirationDate", activation_code."stockId" AS "activation_code_stockId"
FROM activation_code
WHERE 45 = activation_code."bookingId"
9. UPDATE stock SET "dnBookedQuantity"=0 WHERE stock.id = 65
10. UPDATE booking SET "cancellationDate"=2025-02-06 16:48:56.514477, "cancellationReason"=BENEFICIARY, status=CANCELLED WHERE booking.id = 45
11. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId"
FROM booking
WHERE booking.id = 45
12. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId", stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", user_1."phoneNumber" AS "user_1_phoneNumber", user_1."isActive" AS "user_1_isActive", user_1.id AS user_1_id, user_1.activity AS user_1_activity, user_1.address AS user_1_address, user_1.city AS user_1_city, user_1.civility AS user_1_civility, user_1.comment AS user_1_comment, user_1."culturalSurveyFilledDate" AS "user_1_culturalSurveyFilledDate", user_1."culturalSurveyId" AS "user_1_culturalSurveyId", user_1."dateCreated" AS "user_1_dateCreated", user_1."dateOfBirth" AS "user_1_dateOfBirth", user_1."departementCode" AS "user_1_departementCode", user_1.email AS user_1_email, user_1."externalIds" AS "user_1_externalIds", user_1."extraData" AS "user_1_extraData", user_1."firstName" AS "user_1_firstName", user_1."hasSeenProTutorials" AS "user_1_hasSeenProTutorials", user_1."hasSeenProRgs" AS "user_1_hasSeenProRgs", user_1."idPieceNumber" AS "user_1_idPieceNumber", user_1."ineHash" AS "user_1_ineHash", user_1."irisFranceId" AS "user_1_irisFranceId", user_1."isEmailValidated" AS "user_1_isEmailValidated", user_1."lastConnectionDate" AS "user_1_lastConnectionDate", user_1."lastName" AS "user_1_lastName", user_1.married_name AS user_1_married_name, user_1."needsToFillCulturalSurvey" AS "user_1_needsToFillCulturalSurvey", user_1."notificationSubscriptions" AS "user_1_notificationSubscriptions", user_1.password AS user_1_password, user_1."phoneValidationStatus" AS "user_1_phoneValidationStatus", user_1."postalCode" AS "user_1_postalCode", user_1."recreditAmountToShow" AS "user_1_recreditAmountToShow", user_1.roles AS user_1_roles, user_1."schoolType" AS "user_1_schoolType", user_1."validatedBirthDate" AS "user_1_validatedBirthDate", deposit_1.id AS deposit_1_id, deposit_1.amount AS deposit_1_amount, deposit_1."userId" AS "deposit_1_userId", deposit_1.source AS deposit_1_source, deposit_1."dateCreated" AS "deposit_1_dateCreated", deposit_1."dateUpdated" AS "deposit_1_dateUpdated", deposit_1."expirationDate" AS "deposit_1_expirationDate", deposit_1.version AS deposit_1_version, deposit_1.type AS deposit_1_type, external_booking_1.id AS external_booking_1_id, external_booking_1."bookingId" AS "external_booking_1_bookingId", external_booking_1.barcode AS external_booking_1_barcode, external_booking_1.seat AS external_booking_1_seat, external_booking_1.additional_information AS external_booking_1_additional_information
FROM booking JOIN stock AS stock_1 ON stock_1.id = booking."stockId" JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" JOIN "user" AS user_1 ON user_1.id = booking."userId" LEFT OUTER JOIN deposit AS deposit_1 ON user_1.id = deposit_1."userId" LEFT OUTER JOIN external_booking AS external_booking_1 ON booking.id = external_booking_1."bookingId"
WHERE booking.id = 45
13. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1.description AS offer_1_description, offer_1."durationMinutes" AS "offer_1_durationMinutes", offer_1."jsonData" AS "offer_1_jsonData", offer_1."isActive" AS "offer_1_isActive", offer_1.id AS offer_1_id, offer_1."lastValidationDate" AS "offer_1_lastValidationDate", offer_1."lastValidationType" AS "offer_1_lastValidationType", offer_1.validation AS offer_1_validation, offer_1."audioDisabilityCompliant" AS "offer_1_audioDisabilityCompliant", offer_1."mentalDisabilityCompliant" AS "offer_1_mentalDisabilityCompliant", offer_1."motorDisabilityCompliant" AS "offer_1_motorDisabilityCompliant", offer_1."visualDisabilityCompliant" AS "offer_1_visualDisabilityCompliant", offer_1."authorId" AS "offer_1_authorId", offer_1."bookingContact" AS "offer_1_bookingContact", offer_1."bookingEmail" AS "offer_1_bookingEmail", offer_1."dateCreated" AS "offer_1_dateCreated", offer_1."dateModifiedAtLastProvider" AS "offer_1_dateModifiedAtLastProvider", offer_1."dateUpdated" AS "offer_1_dateUpdated", offer_1.ean AS offer_1_ean, offer_1."externalTicketOfficeUrl" AS "offer_1_externalTicketOfficeUrl", offer_1."fieldsUpdated" AS "offer_1_fieldsUpdated", offer_1."lastProviderId" AS "offer_1_lastProviderId", offer_1."idAtProvider" AS "offer_1_idAtProvider", offer_1."isDuo" AS "offer_1_isDuo", offer_1."isNational" AS "offer_1_isNational", offer_1."lastValidationPrice" AS "offer_1_lastValidationPrice", offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."rankingWeight" AS "offer_1_rankingWeight", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, offer_1."venueId" AS "offer_1_venueId", offer_1."withdrawalDelay" AS "offer_1_withdrawalDelay", offer_1."withdrawalDetails" AS "offer_1_withdrawalDetails", offer_1."withdrawalType" AS "offer_1_withdrawalType", offer_1."offererAddressId" AS "offer_1_offererAddressId", offer_1."lastValidationAuthorUserId" AS "offer_1_lastValidationAuthorUserId", stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", finance_incident_1.id AS finance_incident_1_id, finance_incident_1.kind AS finance_incident_1_kind, finance_incident_1.status AS finance_incident_1_status, finance_incident_1."venueId" AS "finance_incident_1_venueId", finance_incident_1.details AS finance_incident_1_details, finance_incident_1."forceDebitNote" AS "finance_incident_1_forceDebitNote", booking_finance_incident_1.id AS booking_finance_incident_1_id, booking_finance_incident_1."bookingId" AS "booking_finance_incident_1_bookingId", booking_finance_incident_1."collectiveBookingId" AS "booking_finance_incident_1_collectiveBookingId", booking_finance_incident_1."incidentId" AS "booking_finance_incident_1_incidentId", booking_finance_incident_1."beneficiaryId" AS "booking_finance_incident_1_beneficiaryId", booking_finance_incident_1."newTotalAmount" AS "booking_finance_incident_1_newTotalAmount"
FROM booking LEFT OUTER JOIN stock AS stock_1 ON stock_1.id = booking."stockId" LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" LEFT OUTER JOIN booking_finance_incident AS booking_finance_incident_1 ON booking.id = booking_finance_incident_1."bookingId" LEFT OUTER JOIN finance_incident AS finance_incident_1 ON finance_incident_1.id = booking_finance_incident_1."incidentId"
WHERE booking."depositId" = 108 AND booking.status != CANCELLED
14. SELECT provider."isActive" AS "provider_isActive", provider.id AS provider_id, provider.name AS provider_name, provider."localClass" AS "provider_localClass", provider."enabledForPro" AS "provider_enabledForPro", provider."enableParallelSynchronization" AS "provider_enableParallelSynchronization", provider."logoUrl" AS "provider_logoUrl", provider."bookingExternalUrl" AS "provider_bookingExternalUrl", provider."cancelExternalUrl" AS "provider_cancelExternalUrl", provider."notificationExternalUrl" AS "provider_notificationExternalUrl", provider."hmacKey" AS "provider_hmacKey", provider."pricesInCents" AS "provider_pricesInCents"
FROM provider
WHERE provider.id IS NULL AND provider."isActive" = true AND provider."enabledForPro" = true
15. SELECT booking.id AS booking_id, booking."dateCreated" AS "booking_dateCreated", booking."dateUsed" AS "booking_dateUsed", booking."stockId" AS "booking_stockId", booking."venueId" AS "booking_venueId", booking."offererId" AS "booking_offererId", booking.quantity AS booking_quantity, booking.token AS booking_token, booking."userId" AS "booking_userId", booking.amount AS booking_amount, booking."priceCategoryLabel" AS "booking_priceCategoryLabel", booking."cancellationDate" AS "booking_cancellationDate", booking."displayAsEnded" AS "booking_displayAsEnded", booking."cancellationLimitDate" AS "booking_cancellationLimitDate", booking."cancellationReason" AS "booking_cancellationReason", booking."cancellationUserId" AS "booking_cancellationUserId", booking.status AS booking_status, booking."validationAuthorType" AS "booking_validationAuthorType", booking."reimbursementDate" AS "booking_reimbursementDate", booking."depositId" AS "booking_depositId", offer_1."jsonData" AS "offer_1_jsonData", offer_1.id AS offer_1_id, offer_1.name AS offer_1_name, offer_1."productId" AS "offer_1_productId", offer_1."subcategoryId" AS "offer_1_subcategoryId", offer_1.url AS offer_1_url, stock_1.id AS stock_1_id, stock_1."isSoftDeleted" AS "stock_1_isSoftDeleted", stock_1."beginningDatetime" AS "stock_1_beginningDatetime", stock_1."bookingLimitDatetime" AS "stock_1_bookingLimitDatetime", stock_1."dateCreated" AS "stock_1_dateCreated", stock_1."dateModified" AS "stock_1_dateModified", stock_1."dnBookedQuantity" AS "stock_1_dnBookedQuantity", stock_1."offerId" AS "stock_1_offerId", stock_1.price AS stock_1_price, stock_1."priceCategoryId" AS "stock_1_priceCategoryId", stock_1.quantity AS stock_1_quantity, stock_1."rawProviderQuantity" AS "stock_1_rawProviderQuantity", stock_1.features AS stock_1_features, stock_1."idAtProviders" AS "stock_1_idAtProviders", stock_1."dateModifiedAtLastProvider" AS "stock_1_dateModifiedAtLastProvider", stock_1."fieldsUpdated" AS "stock_1_fieldsUpdated", stock_1."lastProviderId" AS "stock_1_lastProviderId", venue_1.id AS venue_1_id, venue_1."isVirtual" AS "venue_1_isVirtual", finance_incident_1.id AS finance_incident_1_id, finance_incident_1.kind AS finance_incident_1_kind, finance_incident_1.status AS finance_incident_1_status, finance_incident_1."venueId" AS "finance_incident_1_venueId", finance_incident_1.details AS finance_incident_1_details, finance_incident_1."forceDebitNote" AS "finance_incident_1_forceDebitNote", booking_finance_incident_1.id AS booking_finance_incident_1_id, booking_finance_incident_1."bookingId" AS "booking_finance_incident_1_bookingId", booking_finance_incident_1."collectiveBookingId" AS "booking_finance_incident_1_collectiveBookingId", booking_finance_incident_1."incidentId" AS "booking_finance_incident_1_incidentId", booking_finance_incident_1."beneficiaryId" AS "booking_finance_incident_1_beneficiaryId", booking_finance_incident_1."newTotalAmount" AS "booking_finance_incident_1_newTotalAmount"
FROM booking LEFT OUTER JOIN stock AS stock_1 ON stock_1.id = booking."stockId" LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = stock_1."offerId" LEFT OUTER JOIN venue AS venue_1 ON venue_1.id = booking."venueId" LEFT OUTER JOIN booking_finance_incident AS booking_finance_incident_1 ON booking.id = booking_finance_incident_1."bookingId" LEFT OUTER JOIN finance_incident AS finance_incident_1 ON finance_incident_1.id = booking_finance_incident_1."incidentId"
WHERE booking."userId" = 514 AND booking.status != CANCELLED ORDER BY booking."dateCreated" DESC
16. SELECT favorite.id AS favorite_id, favorite."userId" AS "favorite_userId", favorite."offerId" AS "favorite_offerId", favorite."dateCreated" AS "favorite_dateCreated", offer_1.id AS offer_1_id, offer_1."subcategoryId" AS "offer_1_subcategoryId"
FROM favorite LEFT OUTER JOIN offer AS offer_1 ON offer_1.id = favorite."offerId"
WHERE favorite."userId" = 514 ORDER BY favorite.id DESC
17. SELECT get_wallet_balance(514, False) AS get_wallet_balance_1
18. SELECT feature.name AS feature_name, feature."isActive" AS "feature_isActive"
FROM feature
19. SELECT action_history."jsonData" AS "action_history_jsonData", action_history.id AS action_history_id, action_history."actionType" AS "action_history_actionType", action_history."actionDate" AS "action_history_actionDate", action_history."authorUserId" AS "action_history_authorUserId", action_history."userId" AS "action_history_userId", action_history."offererId" AS "action_history_offererId", action_history."venueId" AS "action_history_venueId", action_history."financeIncidentId" AS "action_history_financeIncidentId", action_history."bankAccountId" AS "action_history_bankAccountId", action_history."ruleId" AS "action_history_ruleId", action_history."chronicleId" AS "action_history_chronicleId", action_history.comment AS action_history_comment
FROM action_history
WHERE 514 = action_history."userId" ORDER BY action_history."actionDate" ASC NULLS FIRST
|
tests/routes/native/v1/cultural_survey_test.py.test_post_cultural_survey_answers:
tests/routes/native/v1/cultural_survey_test.py#L268
assert 500 == 204
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/favorites_test.py.when_user_creates_a_favorite:
tests/routes/native/v1/favorites_test.py#L367
AssertionError: b'{"global":["Il semble que nous ayons des probl\\u00e8mes techniques :( On r\\u00e9pare \\u00e7a au plus vite."]}
'
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
tests/routes/native/v1/favorites_test.py.when_user_creates_a_favorite_twice:
tests/routes/native/v1/favorites_test.py#L408
assert 500 == 200
+ where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
|
Tests api / Pytest (tests/routes -m 'not backoffice')
❌ Tests reported 199 failures
|
tests/routes/backoffice/offers_test.py.test_reject_offer:
tests/routes/backoffice/offers_test.py#L1730
assert 0 == 2
+ where 0 = len([])
+ where [] = mails_testing.outbox
|
tests/routes/backoffice/offers_test.py.test_batch_reject_offers:
tests/routes/backoffice/offers_test.py#L1811
AssertionError: assert 2 == 4
+ where 2 = len([{'To': 'venue1032@example.net', 'params': {'IS_COLLECTIVE_OFFER': False, 'OFFER_ADDRESS': 'Le Petit Rintintin 1032 - 1 boulevard Poissonnière 75002 Paris', 'OFFER_NAME': 'Offer 598', 'PC_PRO_OFFER_LINK': 'http://localhost:3001/offre/individuelle/599/recapitulatif', ...}, 'reply_to': None, 'template': {'enable_unsubscribe': False, 'id_not_prod': 30, 'id_prod': 30, 'send_to_ehp': True, ...}, ...}, {'To': 'venue1033@example.net', 'params': {'IS_COLLECTIVE_OFFER': False, 'OFFER_NAME': 'Offer 599', 'PC_PRO_OFFER_LINK': 'http://localhost:3001/offre/individuelle/600/recapitulatif', 'VENUE_NAME': 'Le Petit Rintintin 1033'}, 'reply_to': None, 'template': {'enable_unsubscribe': False, 'id_not_prod': 34, 'id_prod': 34, 'send_to_ehp': True, ...}, ...}])
+ where [{'To': 'venue1032@example.net', 'params': {'IS_COLLECTIVE_OFFER': False, 'OFFER_ADDRESS': 'Le Petit Rintintin 1032 - 1 boulevard Poissonnière 75002 Paris', 'OFFER_NAME': 'Offer 598', 'PC_PRO_OFFER_LINK': 'http://localhost:3001/offre/individuelle/599/recapitulatif', ...}, 'reply_to': None, 'template': {'enable_unsubscribe': False, 'id_not_prod': 30, 'id_prod': 30, 'send_to_ehp': True, ...}, ...}, {'To': 'venue1033@example.net', 'params': {'IS_COLLECTIVE_OFFER': False, 'OFFER_NAME': 'Offer 599', 'PC_PRO_OFFER_LINK': 'http://localhost:3001/offre/individuelle/600/recapitulatif', 'VENUE_NAME': 'Le Petit Rintintin 1033'}, 'reply_to': None, 'template': {'enable_unsubscribe': False, 'id_not_prod': 34, 'id_prod': 34, 'send_to_ehp': True, ...}, ...}] = mails_testing.outbox
|
Tests api / Pytest (tests/routes/backoffice/collective_bookings_test.py tests/routes/backoffice/collective_of...
❌ Tests reported 2 failures
|
Tests pro E2E / E2E tests and notifications
Cypress tests: 3 failed
|
Tests pro E2E / E2E tests and notifications
The "process_gcloudignore" option is true, but no .gcloudignore file was found. If you do not intend to process a gcloudignore file, set "process_gcloudignore" to false.
|
Update api client template / Update API Client template
Running update api client template with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:590d16220992850137f86cf526f362f0bb519f55
|
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:590d16220992850137f86cf526f362f0bb519f55
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:590d16220992850137f86cf526f362f0bb519f55
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pass-culture~pass-culture-main~8XP0NH.dockerbuild
|
83.3 KB |
|
pass-culture~pass-culture-main~CYV1Q1.dockerbuild
|
94 KB |
|
pass-culture~pass-culture-main~QE5PNC.dockerbuild
|
158 KB |
|
pcapi-590d16220992850137f86cf526f362f0bb519f55.tar
Expired
|
306 MB |
|
pcapi-console-590d16220992850137f86cf526f362f0bb519f55.tar
Expired
|
489 MB |
|
pcapi-tests-590d16220992850137f86cf526f362f0bb519f55.tar
Expired
|
536 MB |
|