I want to echo warnings manually in some situation while testing Laravel project.
Asked
Active
Viewed 208 times
1 Answers
0
use addWarning method
public function testBasicTest()
{
$this->addWarning('There is not enough record in actual database to test pagination');
}

Amin Shojaei
- 5,451
- 2
- 38
- 46