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() |
# findAndLoginUser()
We override to prevent a bug with the matching of user agent and session.
View source (opens new window)
Arguments
$user
(mixed
)$disableRequiredUserAgent
(boolean (opens new window))
Throws
\Codeception\Exception\ConfigurationException
# getEmails()
View source (opens new window)
# resetApplication()
View source (opens new window)
Arguments
$closeSession
# Protected Methods
Method | Description |
---|---|
mockMailer() | |
resetRequest() |
# mockMailer()
View source (opens new window)
Arguments
$config
# resetRequest()
View source (opens new window)
Arguments
Throws
← Craft DbFixtureTrait →