{
if (!is_writable(self::$tmpdir)) {
$this->markTestSkipped('There are no write permissions in order to create test repositories.');
}
$path = getenv('GIT_CLIENT') ?: null;
$this->client = new Client($path);
}
/**
public function testIsParsingGitVersion()
{
$version = $this->client->getVersion();
$this->assertNotEmpty($version);
}
public function testIsCreatingRepository()
{
$repository = $this->client->createRepository(self::$tmpdir . '/testrepo');
$fs = new Filesystem();
$fs->remove(self::$tmpdir . '/testrepo/.git/description');