在我的测试套件中运行它:
$this->dispatch('/default/company/infobox/id/355');
$this->assertResponseCode(200);
失败:
1) CompanyControllerTest::testCompanyInfobox
Failed asserting response code "200"
Was "500"
如何找出页面的输出是什么?在我的浏览器中访问 url 时,没有响应 500...
提前致谢!