Skip to content
This repository was archived by the owner on Feb 8, 2018. It is now read-only.

Improve logic in account closing #4291

Merged
merged 1 commit into from
Jan 14, 2017
Merged

Improve logic in account closing #4291

merged 1 commit into from
Jan 14, 2017

Conversation

chadwhitacre
Copy link
Contributor

@chadwhitacre chadwhitacre commented Jan 13, 2017

Impetus was bugs discovered at #3602 (comment).

  • fix bugs in balance checking (> 0 vs != 0)
  • allow admins to close accounts w/ balance
  • refactor test suite a little bit
  • add tests

Resolve

- fix bugs in balance checking (`> 0` vs `!= 0`)
- allow admins to close accounts w/ balance
- refactor test suite a little bit
- add tests
@chadwhitacre
Copy link
Contributor Author

Ready for review, @mattbk.

@chadwhitacre
Copy link
Contributor Author

Admin sees the following when closing an account with a balance:

screen shot 2017-01-13 at 5 29 39 pm

@chadwhitacre
Copy link
Contributor Author

Non-admin participant sees:

screen shot 2017-01-13 at 5 31 55 pm

@chadwhitacre chadwhitacre mentioned this pull request Jan 13, 2017
@mattbk mattbk merged commit 22c2d8e into master Jan 14, 2017
@chadwhitacre chadwhitacre deleted the fix-close-bugs branch January 16, 2017 01:08
@chadwhitacre chadwhitacre mentioned this pull request Jan 16, 2017
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants