mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-17 15:32:50 +00:00
minor #3900 Minor rename of Sandbox test: functions->methods (YSaxon)
This PR was merged into the 3.x branch.
Discussion
----------
Minor rename of Sandbox test: functions->methods
Commits
-------
62732646 Minor rename of SandboxTest functions->methods
This commit is contained in:
@@ -323,7 +323,7 @@ class SandboxTest extends TestCase
|
||||
$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]);
|
||||
|
||||
Reference in New Issue
Block a user