예제 #1
0
파일: GitTest.php 프로젝트: ggioffreda/git
 /**
  * @covers ::run
  * @covers ::getDefaults
  * @covers ::logCommand
  * @depends testMerging
  */
 public function testRun()
 {
     $this->assertEquals(self::$git->log(), self::$git->run(array_merge(['log'], self::$git->getDefaults('log'))));
     $history = self::$git->history();
     $historyLast = array_pop($history);
     $historySecondLast = array_pop($history);
     $this->assertEquals($historyLast, $historySecondLast);
 }