PHP Class Codeception\Module\AcceptanceHelper

Inheritance: extends Codeception\Module
Mostrar archivo Open project: bolt/bolt

Public Methods

Method Description
loginAs ( array $user ) Makes sure that WebTester is logged in.
loginWithEmailAs ( array $user ) Makes sure that WebTester is logged in using email.
reloadApp ( ) Reload app so configuration changes take affect.

Protected Methods

Method Description
doLogin ( $usernameOrEmail, $password )

Method Details

doLogin() protected method

protected doLogin ( $usernameOrEmail, $password )

loginAs() public method

Makes sure that WebTester is logged in.
public loginAs ( array $user )
$user array An associative array containing keys 'username' and 'password'.

loginWithEmailAs() public method

Makes sure that WebTester is logged in using email.
public loginWithEmailAs ( array $user )
$user array An associative array containing keys 'username' and 'password'.

reloadApp() public method

Reload app so configuration changes take affect.
public reloadApp ( )