Skip to content

Commit

Permalink
update to symfony 5.2, phpspreadsheet 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
erelke committed Apr 10, 2021
1 parent 3b3ff53 commit 1a8344b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Functional/ConfigFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/OdsXlsXlsxFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"');
Expand Down
2 changes: 1 addition & 1 deletion tests/Twig/CsvOdsXlsXlsxErrorTwigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1a8344b

Please sign in to comment.