From: Fabien Potencier Date: Fri, 4 Jan 2013 21:43:10 +0000 (+0100) Subject: fixed tests on PHP 5.2 X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=720b71a0b8b48bbefac8037d81d618f798356e7f;p=web%2Fkonrad%2Ftwig.git fixed tests on PHP 5.2 --- diff --git a/test/Twig/Tests/Node/Expression/FilterTest.php b/test/Twig/Tests/Node/Expression/FilterTest.php index a089182..8089b9c 100644 --- a/test/Twig/Tests/Node/Expression/FilterTest.php +++ b/test/Twig/Tests/Node/Expression/FilterTest.php @@ -125,7 +125,7 @@ class Twig_Tests_Node_Expression_FilterTest extends Twig_Test_NodeTestCase protected function getEnvironment() { if (version_compare(phpversion(), '5.3.0', '>=')) { - return include 'PHP53/FilterTest.php'; + return include 'PHP53/FilterInclude.php'; } return parent::getEnvironment(); diff --git a/test/Twig/Tests/Node/Expression/FunctionTest.php b/test/Twig/Tests/Node/Expression/FunctionTest.php index a4f6768..431dc38 100644 --- a/test/Twig/Tests/Node/Expression/FunctionTest.php +++ b/test/Twig/Tests/Node/Expression/FunctionTest.php @@ -91,7 +91,7 @@ class Twig_Tests_Node_Expression_FunctionTest extends Twig_Test_NodeTestCase protected function getEnvironment() { if (version_compare(phpversion(), '5.3.0', '>=')) { - return include 'PHP53/FunctionTest.php'; + return include 'PHP53/FunctionInclude.php'; } return parent::getEnvironment(); diff --git a/test/Twig/Tests/Node/Expression/PHP53/FilterTest.php b/test/Twig/Tests/Node/Expression/PHP53/FilterInclude.php similarity index 100% rename from test/Twig/Tests/Node/Expression/PHP53/FilterTest.php rename to test/Twig/Tests/Node/Expression/PHP53/FilterInclude.php diff --git a/test/Twig/Tests/Node/Expression/PHP53/FunctionTest.php b/test/Twig/Tests/Node/Expression/PHP53/FunctionInclude.php similarity index 100% rename from test/Twig/Tests/Node/Expression/PHP53/FunctionTest.php rename to test/Twig/Tests/Node/Expression/PHP53/FunctionInclude.php diff --git a/test/Twig/Tests/Node/Expression/PHP53/TestTest.php b/test/Twig/Tests/Node/Expression/PHP53/TestInclude.php similarity index 100% rename from test/Twig/Tests/Node/Expression/PHP53/TestTest.php rename to test/Twig/Tests/Node/Expression/PHP53/TestInclude.php diff --git a/test/Twig/Tests/Node/Expression/TestTest.php b/test/Twig/Tests/Node/Expression/TestTest.php index 73de448..0664150 100644 --- a/test/Twig/Tests/Node/Expression/TestTest.php +++ b/test/Twig/Tests/Node/Expression/TestTest.php @@ -60,7 +60,7 @@ class Twig_Tests_Node_Expression_TestTest extends Twig_Test_NodeTestCase protected function getEnvironment() { if (version_compare(phpversion(), '5.3.0', '>=')) { - return include 'PHP53/TestTest.php'; + return include 'PHP53/TestInclude.php'; } return parent::getEnvironment();