Codeception / Codeception/module-amqp
Reconnect param on 3.0.1
未关闭
- 主要语言
- PHP
- 星标
- 4
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
my tests fails after update version from 3.0.0 to 3.0.1. Issue:
_[Warning] Undefined array key "reconnect" at /var/www/html/vendor/codeception/module-amqp/src/Codeception/Module/AMQP.php:103_
It is about this line:
```
if ($this->config['reconnect']) {
$this->getChannel()->getConnection()->reconnect();
}
```
There is no `reconnect` param. Can you fix this i.e. by adding `isset` call?
贡献指南
这个仓库没有索引到贡献指南
调研方向
打开 Codeception/Module/AMQP.php 的第 103 行,检查如何读取 config 数组。使用省略 reconnect 的配置重现警告,然后验证模块不再发出警告,同时在提供 reconnect 设置时仍能处理该设置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- testing
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 58/100