PHP Class Pantheon\Terminus\UnitTests\Commands\Site\ListCommandTest

Exibir arquivo Open project: pantheon-systems/terminus

Public Methods

Method Description
testListAllSites ( ) Exercises site:list with no filters and all membership types
testListByNameRegex ( ) Exercises site:list with a name filter of either membership type
testListByOwner ( ) Exercises site:list of either membership type owned by a user of a given ID
testListMyOwn ( ) Exercises site:list of either membership type owned by a user is the logged-in user
testListOrgSitesOnly ( ) Exercises site:list with no filters and belonging to an org
testListTeamSitesOnly ( ) Exercises site:list with no filters and team membership type

Protected Methods

Method Description
setup ( )

Method Details

setup() protected method

protected setup ( )

testListAllSites() public method

Exercises site:list with no filters and all membership types
public testListAllSites ( )

testListByNameRegex() public method

Exercises site:list with a name filter of either membership type
public testListByNameRegex ( )

testListByOwner() public method

Exercises site:list of either membership type owned by a user of a given ID
public testListByOwner ( )

testListMyOwn() public method

Exercises site:list of either membership type owned by a user is the logged-in user
public testListMyOwn ( )

testListOrgSitesOnly() public method

Exercises site:list with no filters and belonging to an org

testListTeamSitesOnly() public method

Exercises site:list with no filters and team membership type