Fix errors on Windows
This commit is contained in:
1 parent
75c06807af
commit
9882bf0946
3 files changed
+13
-2
No files matched your search
@@ -518,6 +518,10 @@ class WriterTest extends TestCase
|
||||
*/
|
||||
public function testGeneratedFileShouldHaveTheCorrectMimeType()
|
||||
{
|
||||
if (!function_exists('finfo')) {
|
||||
$this->markTestSkipped('finfo is not available on this system (possibly running on Windows where the DLL needs to be added explicitly to the php.ini)');
|
||||
}
|
||||
|
||||
$fileName = 'test_mime_type.ods';
|
||||
$resourcePath = $this->getGeneratedResourcePath($fileName);
|
||||
$dataRow = ['foo'];
|
||||
|
||||
@@ -575,6 +575,10 @@ class WriterTest extends TestCase
|
||||
*/
|
||||
public function testGeneratedFileShouldHaveTheCorrectMimeType()
|
||||
{
|
||||
if (!function_exists('finfo')) {
|
||||
$this->markTestSkipped('finfo is not available on this system (possibly running on Windows where the DLL needs to be added explicitly to the php.ini)');
|
||||
}
|
||||
|
||||
$fileName = 'test_mime_type.xlsx';
|
||||
$resourcePath = $this->getGeneratedResourcePath($fileName);
|
||||
$dataRows = $this->createRowsFromValues([['foo']]);
|
||||
|
||||
Reference in new issue
Block a user