How to validate variable in PHPUnit?

Posted by Prem Tiwari | Updated on

Want to validate variable in PHPUnit? I used numeric static method in mistake for Validator (it’s my stupid mistake :)) ), I should use make static method and pass the values and rules.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers