Skip to content

Commit

Permalink
minor #3900 Minor rename of Sandbox test: functions->methods (YSaxon)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.x branch.

Discussion
----------

Minor rename of Sandbox test: functions->methods

Commits
-------

6273264 Minor rename of SandboxTest functions->methods
  • Loading branch information
fabpot committed Nov 21, 2023
2 parents ff98249 + 6273264 commit 2f73ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Extension/SandboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public function testSandboxAllowRangeOperator()
$this->assertEquals('1', $twig->load('1_range_operator')->render(self::$params), 'Sandbox allow the range operator');
}

public function testSandboxAllowFunctionsCaseInsensitive()
public function testSandboxAllowMethodsCaseInsensitive()
{
foreach (['getfoobar', 'getFoobar', 'getFooBar'] as $name) {
$twig = $this->getEnvironment(true, [], self::$templates, [], [], ['Twig\Tests\Extension\FooObject' => $name]);
Expand Down

0 comments on commit 2f73ee3

Please sign in to comment.