From 62732646c87fc5aa10ffb3e58228d7a466c47474 Mon Sep 17 00:00:00 2001 From: Yaakov Saxon Date: Fri, 27 Oct 2023 12:15:56 -0400 Subject: [PATCH] Minor rename of SandboxTest functions->methods --- tests/Extension/SandboxTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Extension/SandboxTest.php b/tests/Extension/SandboxTest.php index dff2ddc8dd4..2e40a825da3 100644 --- a/tests/Extension/SandboxTest.php +++ b/tests/Extension/SandboxTest.php @@ -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]);