我正在使用Laravel 8制作简单的甘特图,我有问题。当我进行路由时,当我打开页面时,我得到了一个404错误。顺便说一下,我使用的是xampp。https://docs.dhtmlx.com/gantt/desktop__howtostart_php_laravel.html 错误日志 GET http://localhost/api/datadhxr1
但是,每当我运行测试用例时,它总是在以下错误中失败,Expected status code 200 but received404.Failed asserting that 200 is identical to 404.将$this->withoutExceptionHandling();添加到测试用例代码后,将返回以下错误:
1) Tests\Feature\CompanyTest::orgTes
我正在使用laravel8。我创建了资源控制器。当我使用get方法时,它会给出错误。Http\Controllers\detailController::class]); 在资源控制器中,我有索引方法: public function index() echo 'dd';
} 当我运行http://127.0.0.1:8000/details时,我得到了错误。