Write a test to validate value of account number and trust in accounts
pgeorge2 opened this issue · 1 comments
pgeorge2 commented
Write a test called test_bank_account_number_trust
pass the account number longer than expected length and validate the 400 status error. Also, validate trust value of a bank and it must reside beween 0 to 100. Pass trust value as either negative or more than 100 and validate 400 status code.
Hint: Length of the account number should be 64 characters.
DucPhamTV commented
pass the account number longer than expected length and validate the 400 status error.
if account number is longer than 64 chars, the 404 status error will be returned. So I think only the tests about trust level are needed.