public function tearDown() { GitTestsHelper::rmdir(PHING_TEST_BASE . '/tmp/git'); }
/** * @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 tearDown() { GitTestsHelper::rmdir(PHING_TEST_TMP . '/git'); }
public function testGitDateRelative() { $this->executeTarget('gitLogDateRelative'); foreach ($this->testCommits as $commit) { $timestamp = strtotime($commit['date']); $this->assertInLogs(GitTestsHelper::getRelativeDate($timestamp)); } }
public function setUp() { parent::setUp('SvnLastRevisionTest.xml'); GitTestsHelper::rmdir(PHING_TEST_BASE . '/tmp/svn'); }
public function tearDown() { error_reporting($this->savedErrorLevel); GitTestsHelper::rmdir(PHING_TEST_BASE . '/tmp/svn'); }