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