Skip to content

Reconnect param on 3.0.1 #22

@borutainfo

Description

@borutainfo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions