0

I want to echo warnings manually in some situation while testing Laravel project.

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

1 Answers1

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