Skip to content

Commit

Permalink
Merge branch '5.x' into 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 22, 2024
2 parents 271a977 + c430a0e commit 5540e19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/web/twig/ExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,8 @@ public function testCloneFunction(): void
*/
public function testDataUrlFunction(): void
{
$path = dirname(__DIR__, 4) . '/.github/workflows/ci.yml';
Craft::setAlias('@root', dirname(__DIR__, 4));
$path = '@root/.github/workflows/ci.yml';
$dataUrl = $this->view->renderString('{{ dataUrl(path) }}', compact('path'));
self::assertStringStartsWith('data:application/x-yaml;base64,', $dataUrl);
}
Expand Down

0 comments on commit 5540e19

Please sign in to comment.