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

Inheritance: extends MachineTokenCommandTest
Show file Open project: pantheon-systems/terminus

Public Methods

Method Description
testMachineTokenDelete ( ) : void Tests the machine-token:delete command.
testMachineTokenDeleteAPIFailure ( ) : void Tests the machine-token:delete command when the API fails.
testMachineTokenDeleteNonExistant ( ) : void Tests the machine-token:delete command when there are no tokens.

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testMachineTokenDelete() public method

Tests the machine-token:delete command.
public testMachineTokenDelete ( ) : void
return void

testMachineTokenDeleteAPIFailure() public method

Tests the machine-token:delete command when the API fails.

testMachineTokenDeleteNonExistant() public method

Tests the machine-token:delete command when there are no tokens.