getRemoteInfo() public method

public getRemoteInfo ( string $name ) : array
$name string
return array [host, vendor, repo]
Beispiel #1
0
 /**
  * @test
  * @dataProvider repoUrlProvider
  */
 public function gets_information_about_the_remote($url, array $expectedInfo)
 {
     $this->processHelper->expects($this->atLeastOnce())->method('runCommand')->with($this->equalTo('git config --local --get remote.origin.url'))->will($this->returnValue($url));
     $this->assertEquals($expectedInfo, $this->gitConfigHelper->getRemoteInfo('origin'));
 }