PHP Class Pantheon\Terminus\UnitTests\Commands\Auth\LoginCommandTest

Inheritance: extends AuthTest
Exibir arquivo Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$tokens

Public Methods

Method Description
setUp ( )
testCannotLogInWithoutIndicatingWhichToken ( ) Tests the auth:login command when no data was given and there are multiple saved machine tokens
testCannotLogInWithoutTokens ( ) Tests the auth:login command when no data was given and there are no saved machine tokens
testLogInWithEmail ( ) Tests the auth:login command where the email address referencing a saved machine token is given
testLogInWithMachineToken ( ) Tests the auth:login command where the machine token is explicitly given
testLogInWithSoloSavedToken ( ) Tests the auth:login command when no info is given but a single machine token has been saved

Method Details

setUp() public method

public setUp ( )

testCannotLogInWithoutIndicatingWhichToken() public method

Tests the auth:login command when no data was given and there are multiple saved machine tokens

testCannotLogInWithoutTokens() public method

Tests the auth:login command when no data was given and there are no saved machine tokens

testLogInWithEmail() public method

Tests the auth:login command where the email address referencing a saved machine token is given
public testLogInWithEmail ( )

testLogInWithMachineToken() public method

Tests the auth:login command where the machine token is explicitly given

testLogInWithSoloSavedToken() public method

Tests the auth:login command when no info is given but a single machine token has been saved

Property Details

$tokens protected_oe property

protected $tokens