-
Notifications
You must be signed in to change notification settings - Fork 25
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
GPS : liste des groupes > la date n'apparaît pas pour les groupes créés en masse // changement de l'ordre #4279
Conversation
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
9780b38
to
6312259
Compare
- Show groups created lately first. - Don't display the creation date if membership was created by the initial script
ccf3a37
to
5075b4a
Compare
FollowUpGroup.objects.follow_beneficiary(beneficiary=beneficiary, user=other_member, is_referent=True) | ||
assert group.memberships.count() == 2 | ||
other_membership = group.memberships.get(member=other_member) | ||
assert other_membership.is_referent is True # No limit to the number of referent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On est d'accord que dans ce test il n'y a qu'une seule membership référente & active ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
À la fin, oui, car l'autre membership.is_referent est passée à False
ligne 52. Mais je suis d'accord avec toi, ce n'est pas évident.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je modifierai ce test une autre fois. Là, j'aimerais bien passer cette PR.
🤔 Pourquoi ?
Demandes remontées pendant l'OL.
J'ai aussi mis à jour les fixtures pour répliquer l'import initial.
💻 Captures d'écran
🚨 À vérifier
🏝️ Comment tester
Se connecter avec l'ETTI (utilisatrice Daphnée Delavigne) puis, en bas du tableau de bord, cliquer sur « Visualiser les bénéficiaires ».