修改示例出现的问题
来源:5-3 注册用户接口单元测试

折子
2021-07-22
我只是将示例$this->(’/’)改为测试 $this->get(’/test’); 测试不通过, 显示
Expected status code 200 but received 404.
Failed asserting that 200 is identical to 404.
web.php已添加过(‘/test’)路由
写回答
1回答
-
檀梵
2021-07-22
这样看不出问题,打印下注册的路由列表看下 php artisan route:list
022021-07-22
相似问题