Exemplo n.º 1
0
 /**
  * @todo Need to implement the Git relative date calculation
  */
 public function testGitDateRelative()
 {
     $this->markTestSkipped('Need to implement the Git relative date calculation');
     $this->executeTarget('gitLogDateRelative');
     foreach ($this->testCommits as $commit) {
         $timestamp = strtotime($commit['date']);
         $this->assertInLogs(GitTestsHelper::getRelativeDate($timestamp));
     }
 }
 public function testGitDateRelative()
 {
     $this->executeTarget('gitLogDateRelative');
     foreach ($this->testCommits as $commit) {
         $timestamp = strtotime($commit['date']);
         $this->assertInLogs(GitTestsHelper::getRelativeDate($timestamp));
     }
 }