Skip to content
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

Improve tests to make sure a voucher is executed to complete a withdrawal #7

Open
5 tasks
marcelstanley opened this issue Jun 1, 2023 · 1 comment
Open
5 tasks

Comments

@marcelstanley
Copy link
Contributor

marcelstanley commented Jun 1, 2023

📚 Context

Test Withdraw request from WITHDRAW_ADDRESS results in a voucher does not test the full procedure, which could include the execution of the voucher itself.

✔️ Solution

Add the following steps to the test:

  1. Finish the epoch
  2. Execute the voucher
  3. Check Bob's balance to make sure the funds were transferred correctly

📈 Subtasks

🎯 Definition of Done

  • Test passes and Bob's balance matches what is expected
  • All tests pass
@marcelstanley marcelstanley changed the title Improve tests Improve tests to make sure a voucher is executed to complete a withdrawal Jun 1, 2023
@Abtrade2023
Copy link

Tks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants