PHP Class Pantheon\Terminus\UnitTests\Commands\Owner\SetCommandTest

Datei anzeigen Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$user_memberships

Public Methods

Method Description
testOwnerSetDontCatchException ( ) Exercises owner:set when throwing an error that is not a TerminusNotFoundException
testOwnerSetInvalidOwner ( ) Exercises owner:set when the proposed owner is not a team member
testOwnerSetValidOwner ( ) Exercises owner:set when the proposed owner is a team member

Protected Methods

Method Description
setup ( )

Method Details

setup() protected method

protected setup ( )

testOwnerSetDontCatchException() public method

Exercises owner:set when throwing an error that is not a TerminusNotFoundException

testOwnerSetInvalidOwner() public method

Exercises owner:set when the proposed owner is not a team member

testOwnerSetValidOwner() public method

Exercises owner:set when the proposed owner is a team member

Property Details

$user_memberships protected_oe property

protected $user_memberships