我尝试运行测试并得到这个错误
In Acceptance.php line 97:
curl_setopt():文件名不能为空
我接受。PHP文件
$imgPath = codecept_output_dir() .'debug/fail.png';
curl_setopt($ch, CURLOPT_POSTFIELDS, [
'chat_id' => $chatID,
'photo' => new CURLFile(realpath($imgPath))
]);
软件测试工具功能