composer update
This commit is contained in:
13
vendor/codacy/coverage/tests/Codacy/Coverage/Util/GitClientTest.php
vendored
Normal file
13
vendor/codacy/coverage/tests/Codacy/Coverage/Util/GitClientTest.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Codacy\Coverage\Util\GitClient;
|
||||
|
||||
class GitClientTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testGetHashOfLastCommit()
|
||||
{
|
||||
$gitClient = new GitClient(getcwd());
|
||||
$hash = $gitClient->getHashOfLatestCommit();
|
||||
$this->assertEquals(40, strlen($hash));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user