Skip to content

Commit

Permalink
OP-545: ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Sep 20, 2024
1 parent d80f659 commit 41302f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Behat/Context/Setup/TemplateContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
final class TemplateContext implements Context
{
private Filesystem $filesystem;

private string $tempConfigFile;

private string $tempTemplateFile;

public function __construct()
Expand All @@ -28,7 +30,7 @@ public function thereIsAnExistingTemplateWithValue($template): void
$config = [
'sylius_cms' => [
'templates' => [
'pages' => [$template]
'pages' => [$template],
],
],
];
Expand All @@ -47,6 +49,7 @@ public function thereIsAnExistingTemplateWithValue($template): void
private function getTemplateFilePath($template): string
{
$templatePath = str_replace('@SyliusCmsPlugin', 'Application/templates/bundles/SyliusCmsPlugin', $template);

return __DIR__ . '/../../../' . $templatePath;
}

Expand Down

0 comments on commit 41302f5

Please sign in to comment.