Skip to content

Commit

Permalink
Travis failed test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
todstoychev committed Feb 22, 2016
1 parent 55b7af4 commit 475197c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Manager/FileManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class FileManagerTest extends \PHPUnit_Framework_TestCase
/**
* @var string
*/
protected $rootPath = __DIR__ . '/../fixtures/';
protected $rootPath;

/**
* @var FilesystemAdapter
Expand All @@ -40,6 +40,7 @@ class FileManagerTest extends \PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->rootPath = __DIR__ . '/../fixtures/';
$this->filesystemAdapter = new FilesystemAdapter(new Filesystem(new Local($this->rootPath)));
$this->fileManager = new FileManager();
$this->file = file_get_contents($this->rootPath . '/test_image.png');
Expand Down

0 comments on commit 475197c

Please sign in to comment.