Skip to content

Commit

Permalink
tests: fix view helper tests with TYPO3 v13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Sep 18, 2024
1 parent 032288d commit 6f4c7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Functional/ViewHelpers/ViewHelperTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected function renderTemplate(string $template, array $variables = []): stri

\file_put_contents($templatePath, self::VIEWHELPER_NAMESPACE . $template);

$this->view->getTemplatePaths()->setTemplatePathAndFilename($templatePath);
$this->view->getRenderingContext()->getTemplatePaths()->setTemplatePathAndFilename($templatePath);

if ($variables !== []) {
$this->view->assignMultiple($variables);
Expand Down

0 comments on commit 6f4c7fc

Please sign in to comment.