fixed tests

This commit is contained in:
Fabien Potencier
2019-01-12 04:56:28 +01:00
parent 6891bb3203
commit 15912f8f6b
+4
View File
@@ -16,6 +16,10 @@ class Twig_Tests_NativeExtensionTest extends \PHPUnit\Framework\TestCase
*/
public function testGetProperties()
{
if (PHP_VERSION_ID >= 70000) {
$this->markTestSkipped('Extension is not available on PHP 7+');
}
$twig = new Twig_Environment(new Twig_Loader_Array(['index' => '{{ d1.date }}{{ d2.date }}']), [
'debug' => true,
'cache' => false,