PHP Class Gush\Tests\Command\PullRequest\PullRequestCreateCommandTest

Inheritance: extends Gush\Tests\Command\CommandTestCase
Show file Open project: gushphp/gush

Public Methods

Method Description
testCannotOpenPullRequestForNonExistentBranch ( )
testCannotOpenPullRequestWithNoCommits ( )
testOpenPullRequestAutoPushMissingBranch ( )
testOpenPullRequestUsingBaseAsDefaultBranch ( )
testOpenPullRequestWithCustomTemplate ( )
testOpenPullRequestWithExistingRemoteBranch ( )
testOpenPullRequestWithExistingRemoteBranchNoInteractive ( )
testOpenPullRequestWithSourceOptionsProvided ( )

Protected Methods

Method Description
getGitConfigHelper ( $sourceOrg = 'cordoval', $sourceRepo = 'gush' )

Private Methods

Method Description
getLocalGitHelper ( $sourceOrg = 'cordoval', $sourceRepo = 'gush', $branch = 'issue-145', $commitCount = 1, $baseBranch = 'master' )

Method Details

getGitConfigHelper() protected method

protected getGitConfigHelper ( $sourceOrg = 'cordoval', $sourceRepo = 'gush' )

testCannotOpenPullRequestForNonExistentBranch() public method

testCannotOpenPullRequestWithNoCommits() public method

testOpenPullRequestAutoPushMissingBranch() public method

testOpenPullRequestUsingBaseAsDefaultBranch() public method

testOpenPullRequestWithCustomTemplate() public method

testOpenPullRequestWithExistingRemoteBranch() public method

testOpenPullRequestWithExistingRemoteBranchNoInteractive() public method

testOpenPullRequestWithSourceOptionsProvided() public method