Ntb\RestAPI\RestTest::createSession
Creates a session for the api.
Signature
protected function createSession([string
$email = 'considine.colby@gmail.com',
[string
$password = 'password']] )
Parameters
$email
— string- the email of the user
$password
— string- the password for the user
Returns
- array
- the current session with `token`