I'm trying to setup acceptante tests using Codeception and email part of craft\test\Craft module.
However, when using the seeEmailIsSent assertion, the following Exeception is thrown:
[TypeError] Return value of craft\test\CraftConnector::getEmails() must be of the type array, null returned
For some reason, the return statement doesn't seem to return the expected array.
I've tried various mailer configurations with no success.
Hi,
I'm trying to setup acceptante tests using Codeception and email part of craft\test\Craft module.
However, when using the
seeEmailIsSent
assertion, the following Exeception is thrown:[TypeError] Return value of craft\test\CraftConnector::getEmails() must be of the type array, null returned
For some reason, the return statement doesn't seem to return the expected array.
I've tried various mailer configurations with no success.