Minor fixes for tests (#406)

This commit is contained in:
Adrien Loison authored and GitHub committed 2017-04-15 23:33:50 +02:00
1 parent 7f8b95b2f3
commit 9f80ece73f
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -284,7 +284,7 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
*
* @return void
*/
public function testReadShouldBeProtectedAgainstBillionLaughAttack()
public function testReadShouldBeProtectedAgainstBillionLaughsAttack()
{
$startTime = microtime(true);
$fileName = 'attack_billion_laughs.ods';
+1 -1
View File
@@ -73,7 +73,7 @@ class WriterTest extends \PHPUnit_Framework_TestCase
$writer = WriterFactory::create(Type::CSV);
$writer->close(); // This call should not cause any error
$writer->openToFile($fileName);
$writer->openToFile($resourcePath);
$writer->close();
$writer->close(); // This call should not cause any error
}
+1 -1
View File
@@ -180,7 +180,7 @@ class WriterTest extends \PHPUnit_Framework_TestCase
$writer = WriterFactory::create(Type::ODS);
$writer->close(); // This call should not cause any error
$writer->openToFile($fileName);
$writer->openToFile($resourcePath);
$writer->close();
$writer->close(); // This call should not cause any error
}
+1 -1
View File
@@ -206,7 +206,7 @@ class WriterTest extends \PHPUnit_Framework_TestCase
$writer = WriterFactory::create(Type::XLSX);
$writer->close(); // This call should not cause any error
$writer->openToFile($fileName);
$writer->openToFile($resourcePath);
$writer->close();
$writer->close(); // This call should not cause any error
}