craftcms / craft

Composer starter project for Craft CMS.
https://craftcms.com
BSD Zero Clause License
188 stars 91 forks source link

CraftConnector getEmails #59

Closed juban closed 4 years ago

juban commented 4 years ago

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.

juban commented 4 years ago

Sorry, wrong project issue tracker ^^