I am making a project using the Laravel framework.
I plan to create unit tests for my project. But I feel I don't really have an idea what to test because I mostly use library or framework functions. Even though I create my own functions, they usually are compose of functions called from Laravel and libraries I use. Here are some examples.
My application takes inputs from an ajax request, validates the fields and add them to the database.
What could I test here since all the objects and functions I used (validator, eloquent) are supposedly tested already by the framework authors?
User submits an excel file that contains values. I would then make computations on each row and save each to the database.
The only thing here I think could be tested are my user-defined computation functions because those are created by me.
Are my observations correct?