Exemplo n.º 1
0
 public function test_open()
 {
     $repo = GitRepository::open('/Users/jacob/dev/tweetmon');
     $this->assertNotNull($repo);
 }
Exemplo n.º 2
0
 public function test_isCommit_notfound()
 {
     $sha = 'f80a9ff4857bb23cb734925d7496e89431ad5bcq';
     $repo = GitRepository::open(realpath(__DIR__ . '/../'), new \Shell\Output\OutputHandler());
     $exists = $repo->verifyCommitExists($sha);
     $this->assertFalse($exists);
 }