cape
cape copied to clipboard
Test fees
Update the integration test link of Check response for paying native CAPE tokens from faucet to pay fees to point to one of the following
- a single integration test that demonstrates the back end portion of the user story,
- a web page that describes and links to a collection of tests that demonstrate this, or
- a web page explaining why no test is needed.
Tests should demonstrate
- It is possible to obtain $CAPE asset records
- It is possible to build transactions with $CAPE fees
- Transactions with sufficient fees succeed
- Transactions with insufficient fees generate a reasonable error message
The conditions under which insufficient fee funds produces a failure are not likely to occur accidentally because the fees are currently set to zero. The user would need to either not use faucet to get $CAPE or transfer all their $CAPE tokens away. The front end should check this condition and direct the user to obtain more $CAPE tokens.