CraftConnector

Type
Class
Namespace
craft\test
Inherits
craft\test\CraftConnector » Codeception\Lib\Connector\Yii2
Since
3.2.0

Class CraftConnector

View source

# Protected Properties

# emails

Type
array, yii\mail\MessageInterface

View source

# Public Methods

Method Description
findAndLoginUser() We override to prevent a bug with the matching of user agent and session.
getEmails()
resetRequest()

# findAndLoginUser()

We override to prevent a bug with the matching of user agent and session.

View source

Arguments

  • $user
  • $disableRequiredUserAgent (boolean)

Throws

  • \Codeception\Exception\ConfigurationException

# getEmails()

View source

# resetRequest()

View source

Arguments

Throws

# Protected Methods

Method Description
mockMailer()

# mockMailer()

View source

Arguments

  • $config