stable
Clone or download
An invitation that led to the creation of a user should be considered as completed in the database. ββββββββββ βcreated β ββ¬βββββββ¬β ββ½βββββββ½ββββ βerrorββsentβ βββββββββ¬βββ¬β β β user registers thanks to β β current invitation link β·β ββ other invitations for this user β β βββββββββ½βββ½βββββββββ βused ββcompletedβ βββββββββββββββββββββ No functional changes for the end users. Part of story #30021: Invite buddies to my Tuleap project Change-Id: I196c2b6a1b937e9de1d1c5158a914fb3deca3911
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/InviteBuddy/Invitation.php | +5 | β4 | Go to diff View file |
M | src/common/InviteBuddy/InvitationDao.php | +8 | β5 | Go to diff View file |
A | src/db/mysql/updates/2023/202302231021_mark_invitations_as_completed.php | +39 | β0 | Go to diff View file |
M | tests/integration/tests/InviteBuddy/InvitationDaoTest.php | +2 | β2 | Go to diff View file |
M | tests/unit/common/InviteBuddy/AccountCreationFeedbackTest.php | +13 | β13 | Go to diff View file |
M | tests/unit/common/InviteBuddy/Admin/InvitedByPresenterBuilderTest.php | +4 | β4 | Go to diff View file |
M | tests/unit/common/InviteBuddy/InvitationTestBuilder.php | +5 | β0 | Go to diff View file |