Skip to content

CraftConnector ​

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

Class CraftConnector

View source

Protected Properties ​

PropertyDescription
emailsarray

emails ​

Type
array
Default value
[]

View source

Public Methods ​

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

findAndLoginUser() ​

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

View source

Arguments ​

  • $user (mixed)
  • $disableRequiredUserAgent (boolean)

Throws ​

  • \Codeception\Exception\ConfigurationException

getEmails() ​

View source

resetApplication() ​

View source

Arguments ​

  • $closeSession

Protected Methods ​

MethodDescription
mockMailer()
resetRequest()

mockMailer() ​

View source

Arguments ​

  • $config

resetRequest() ​

View source

Arguments ​

Throws ​