Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pc 30215 batch event on booking cancel #12914

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

thconte
Copy link
Contributor

@thconte thconte commented Jun 25, 2024

But de la pull request

Ticket Jira (ou description si BSR) : https://passculture.atlassian.net/browse/PC-30215

Vérifications

  • J'ai écrit les tests nécessaires
  • J'ai relu attentivement les migrations, en particulier pour éviter les locks, et je préviens les équipes Shérif et Data
  • J'ai ajouté des screenshots pour d'éventuels changements graphiques

@thconte thconte force-pushed the pc-30215-batch-event-on-booking-cancel branch 2 times, most recently from 564716a to 5edc8a6 Compare June 25, 2024 08:23
Copy link
Contributor

github-actions bot commented Jun 25, 2024

mypy cop report: 407 (master) ↗ 408 (your branch)

@thconte thconte marked this pull request as ready for review June 25, 2024 09:01
@thconte thconte force-pushed the pc-30215-batch-event-on-booking-cancel branch 4 times, most recently from e1a94d8 to a6fa21b Compare June 26, 2024 10:53
@thconte thconte force-pushed the pc-30215-batch-event-on-booking-cancel branch from a6fa21b to de8684d Compare June 26, 2024 10:54
@@ -897,7 +898,8 @@ def test_cancel_booking(self, client):
booking = booking_factories.BookingFactory(user=user)

client = client.with_token(self.identifier)
response = client.post(f"/native/v1/bookings/{booking.id}/cancel")
with assert_num_queries(29):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ le commit par contre

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouais j'ai pas osé mettre le détail, mais j'ai noté de faire une passe là-dessus en journée back ou autre.

@thconte thconte merged commit 167a06a into master Jun 28, 2024
22 checks passed
@thconte thconte deleted the pc-30215-batch-event-on-booking-cancel branch June 28, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants