From 1a8344b952cd76832c64f1f9c882cc38cf757c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C5=91ss=20Elem=C3=A9r?= Date: Sun, 11 Apr 2021 00:03:45 +0200 Subject: [PATCH] update to symfony 5.2, phpspreadsheet 1.17 --- tests/Functional/ConfigFunctionalTest.php | 2 +- tests/Functional/OdsXlsXlsxFunctionalTest.php | 2 +- tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Functional/ConfigFunctionalTest.php b/tests/Functional/ConfigFunctionalTest.php index 9407a11..0424755 100644 --- a/tests/Functional/ConfigFunctionalTest.php +++ b/tests/Functional/ConfigFunctionalTest.php @@ -40,7 +40,7 @@ public function testPreCalculateFormulas() public function testXmlCacheDirectory() { // make request to fill the disk cache - $response = $this->_getResponse('test_default', ['templateName' => 'simple']); + $response = $this->getResponse('test_default', ['templateName' => 'simple']); static::assertNotNull($response, 'Response does not exist'); /** diff --git a/tests/Functional/OdsXlsXlsxFunctionalTest.php b/tests/Functional/OdsXlsXlsxFunctionalTest.php index 877e1d5..ec70788 100644 --- a/tests/Functional/OdsXlsXlsxFunctionalTest.php +++ b/tests/Functional/OdsXlsXlsxFunctionalTest.php @@ -57,7 +57,7 @@ public function testSimple($format) */ public function testCustomResponse($format) { - $response = $this->_getResponse('test_custom_response', ['templateName' => 'simple', '_format' => $format]); + $response = $this->getResponse('test_custom_response', ['templateName' => 'simple', '_format' => $format]); static::assertNotNull($response, 'Response does not exist'); static::assertContains('foobar.bin', $response->headers->get('Content-Disposition'), 'Unexpected or missing header "Content-Disposition"'); diff --git a/tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php b/tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php index cc65696..5b0e09a 100644 --- a/tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php +++ b/tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php @@ -93,7 +93,7 @@ public function testStartCellIndexError($format) public function testStartRowIndexError($format) { $this->expectException(TypeError::class); - $this->expectExceptionMessage('Argument 1 passed to MewesK\TwigSpreadsheetBundle\Wrapper\PhpSpreadsheetWrapper::startRow() must be of the type int or null'); + $this->expectExceptionMessage('Argument 1 passed to Erelke\TwigSpreadsheetBundle\Wrapper\PhpSpreadsheetWrapper::startRow() must be of the type int or null'); $this->getDocument('rowIndexError', $format); }