throw new exception laravel doesnt work in expectException PHP unit

前端 未结 0 1129
死守一世寂寞
死守一世寂寞 2021-01-12 02:00

The exception is thrown correctly in the program, but the test does not detect it. Why??

public function null_user_send()
{
    $message = \'Hi\';
    $respon         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题