Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🥗
Tobias
: Test issuing Payouts
twice doesn't create more `Payment…
…s` (#19) * 🥗 `Tobias`: Issuing `Payouts` doesn't create additional payouts per beneficiary I thought that this would actually be a problem, but apparently it's not! Hooray for tests! * 🥗✨`Tobias`: `Payout#issue` won't create `Payment` for new `Beneficiary` This one actually needed adjusting! Turns out, `Payout#issue` would happily create a new `Payment` for a new `Beneficiary`, which is less than ideal. Now we have a guard clause that will prevent `Payout#issue` from making additional `Payments` when there are already `Payments` present.
- Loading branch information