./phpunit tests/Feature/Console/OwnerSwapTest.php
Details
Details
- Reviewers
mollekopf - Group Reviewers
Restricted Project - Commits
- rK86ea94306654: Add artisan owner:swap command
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Looks good.
Notes (no blockers I think):
- The wallet description is not copied
- It's not clear to me why the targetWallet needs to be one month old, perhaps add a comment.
- The "same account" check is a bit obscure and would deserve a dedicated method I think: User::controlledBySameWallet($users)