1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php namespace GitDeploy\Tests\GitDeployTest; use GitDeploy\GitDeploy; class GitDeployTest extends \PHPUnit_Framework_TestCase { protected $fixtures; public function __construct() { $this->fixtures = __DIR__ . '/Fixtures/'; } public function testFromFile() { $gitdeploy = GitDeploy::fromFile($this->fixtures . 'git-deploy.json'); $this->assertNotEmpty($gitdeploy); } }