CraftConnector

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

Class CraftConnector

View source (opens new window)

# Protected Properties

Property Description
emails array (opens new window)

# emails

Type
array (opens new window)
Default value
[]

View source (opens new window)

# Public Methods

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

# findAndLoginUser()

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

View source (opens new window)

Arguments

Throws

  • \Codeception\Exception\ConfigurationException

# getEmails()

View source (opens new window)

# resetApplication()

View source (opens new window)

Arguments

  • $closeSession

# resetRequest()

View source (opens new window)

Arguments

Throws

# Protected Methods

Method Description
mockMailer()

# mockMailer()

View source (opens new window)

Arguments

  • $config