-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Issue
The Search Class -> arrValidator Method is designed for incorrect input data to fail gracefully. However, at this point it will fail everything.
if($this->arrValidator($param)){
return [];
}
Solution
- Create tests for SearchGetters -> getArrValidator($param) Method so it can test the Search -> arrValidator($param) Method
- Change the Search -> arrValidator($param) Method to protected and not private
- Add arrValidator($param) Method the Search abstract Class
- Wire up the SearchGetter Method to the Search method
- Run tests, commit, deploy
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working