Minor rename of SandboxTest functions->methods

This commit is contained in:
Yaakov Saxon
2023-10-27 12:15:56 -04:00
committed by GitHub
parent 02262dee80
commit 62732646c8
+1 -1
View File
@@ -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]);