Minor fixes for tests

This commit is contained in:
Adrien Loison 2017-04-15 23:28:52 +02:00
parent 7f8b95b2f3
commit 25dea7f60c
4 changed files with 4 additions and 4 deletions

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';

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
}

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
}

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
}