Fix tests on Windows (#288)

This commit is contained in:
Adrien Loison authored and GitHub committed 2016-08-10 12:09:37 -07:00
1 parent 7f65993c87
commit b2dc0c3fa9
3 files changed
+23 -5

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ class WriterTest extends \PHPUnit_Framework_TestCase
public function testWriteShouldThrowExceptionIfCannotOpenFileForWriting()
{
$fileName = 'file_that_wont_be_written.csv';
$this->createUnwritableFolderIfNeeded($fileName);
$this->createUnwritableFolderIfNeeded();
$filePath = $this->getGeneratedUnwritableResourcePath($fileName);
$writer = WriterFactory::create(Type::CSV);