Open greenmoss opened 6 years ago
@erikkaBaguio this is going to require some digging. Please ask me or @JosiahRegencia if you have questions.
Example: you give bank teller 20$ to deposit. Teller says "ok". That's good, but you would also want to see a receipt of your new bank balance, to prove that it went up by 20$
These tests are like that. Inserting via the API currently gives an "ok". We also want to make sure it did the right thing on the back end.
Scope: figure out what the API end points should be doing, then write more tests to verify that it happened.
Right now they only check for return code 200. They should dig deeper into the results and verify the returned data is correct.